Struct dropbox_sdk::team::MemberAddArg [−][src]
#[non_exhaustive]pub struct MemberAddArg { pub member_email: EmailAddress, pub member_given_name: Option<OptionalNamePart>, pub member_surname: Option<OptionalNamePart>, pub member_external_id: Option<MemberExternalId>, pub member_persistent_id: Option<String>, pub send_welcome_email: bool, pub is_directory_restricted: Option<bool>, pub role: AdminTier, }
This is supported on crate feature
dbx_team only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.member_email: EmailAddressmember_given_name: Option<OptionalNamePart>Member’s first name.
member_surname: Option<OptionalNamePart>Member’s last name.
member_external_id: Option<MemberExternalId>External ID for member.
member_persistent_id: Option<String>Persistent ID for member. This field is only available to teams using persistent ID SAML configuration.
send_welcome_email: boolWhether to send a welcome email to the member. If send_welcome_email is false, no email invitation will be sent to the user. This may be useful for apps using single sign-on (SSO) flows for onboarding that want to handle announcements themselves.
is_directory_restricted: Option<bool>Whether a user is directory restricted.
role: AdminTierImplementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MemberAddArgimpl Send for MemberAddArgimpl Sync for MemberAddArgimpl Unpin for MemberAddArgimpl UnwindSafe for MemberAddArgBlanket Implementations
Mutably borrows from an owned value. Read more