Struct dropbox_sdk::files::FileLockMetadata [−][src]
#[non_exhaustive]pub struct FileLockMetadata {
pub is_lockholder: Option<bool>,
pub lockholder_name: Option<String>,
pub lockholder_account_id: Option<AccountId>,
pub created: Option<DropboxTimestamp>,
}
This is supported on crate feature
dbx_files
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.is_lockholder: Option<bool>
True if caller holds the file lock.
lockholder_name: Option<String>
The display name of the lock holder.
lockholder_account_id: Option<AccountId>
The account ID of the lock holder if known.
created: Option<DropboxTimestamp>
The timestamp of the lock was created.
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 FileLockMetadata
impl Send for FileLockMetadata
impl Sync for FileLockMetadata
impl Unpin for FileLockMetadata
impl UnwindSafe for FileLockMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more