Skip to content

WhereDbModel hardcoded <'s> #3

Description

@amigin

For time-saving - <'s> is hardcoded when we use lifetime as a part of the WhereDbModel structure.

pub struct MyWhereStruct<'s>{
/// fields
}

Improvement to be made - is that 's is not hardcoded - but is read from the struct lifetime.

For now, <'s> must be used if the structure has a lifetime or the code would not compile.

This code would not compile

pub struct MyWhereStruct<'d>{
/// fields
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions