Skip to content

What is Employee::from() for? #2

@sseering

Description

@sseering

What is the from method for

? It seems to be a variant of clone()?

The use in

let employee = Employee::from(employee);
doesn't make sense to me. Wast this supposed to be a converter between Employee and Employees?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions