Struct dropbox_sdk::team::LegalHoldsPolicyCreateArg [−][src]
#[non_exhaustive]pub struct LegalHoldsPolicyCreateArg { pub name: LegalHoldPolicyName, pub members: Vec<TeamMemberId>, pub description: Option<LegalHoldPolicyDescription>, pub start_date: Option<DropboxTimestamp>, pub end_date: Option<DropboxTimestamp>, }
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.name: LegalHoldPolicyNamePolicy name.
members: Vec<TeamMemberId>List of team member IDs added to the hold.
description: Option<LegalHoldPolicyDescription>A description of the legal hold policy.
start_date: Option<DropboxTimestamp>start date of the legal hold policy.
end_date: Option<DropboxTimestamp>end date of the legal hold policy.
Implementations
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 LegalHoldsPolicyCreateArgimpl Send for LegalHoldsPolicyCreateArgimpl Sync for LegalHoldsPolicyCreateArgimpl Unpin for LegalHoldsPolicyCreateArgimpl UnwindSafe for LegalHoldsPolicyCreateArgBlanket Implementations
Mutably borrows from an owned value. Read more