Struct letterboxd::MemberSummary [] [src]

pub struct MemberSummary {
    pub id: String,
    pub username: String,
    pub given_name: Option<String>,
    pub family_name: Option<String>,
    pub display_name: String,
    pub short_name: String,
    pub pronoun: Pronoun,
    pub avatar: Image,
    pub member_status: MemberStatus,
}

Fields

The LID of the member.

The member’s Letterboxd username. Usernames must be between 2 and 15 characters long and may only contain upper or lowercase letters, numbers or the underscore (_) character.

The given name of the member.

The family name of the member.

A convenience method that returns the member’s given name and family name concatenated with a space, if both are set, or just their given name or family name, if one is set, or their username, if neither is set. Will never be empty.

A convenience method that returns the member’s given name, if set, or their username. Will never be empty.

The member’s preferred pronoun set. Use the /members/pronouns endpoint to request all available pronoun sets.

The member’s avatar image at multiple sizes.

The member’s account type.

Trait Implementations

impl Clone for MemberSummary
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MemberSummary
[src]

[src]

Formats the value using the given formatter.