Skip to content

Accessing values of variables in data structures #15

@npmaling

Description

@npmaling

Hi,

Is there a simpler way to get at the values of the data structure, such that when I do:

println!("Name: {:?}", &name.value);

which results in:

Name: Some("Robert Eugene /Williams/")

ideally results in

Name: "Robert Eugene /Williams/"

without the "Some()" parts?

Thanks!

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