Struct dropbox_sdk::sharing::TransferFolderArg
source · [−]#[non_exhaustive]pub struct TransferFolderArg {
pub shared_folder_id: SharedFolderId,
pub to_dropbox_id: DropboxId,
}Available on crate feature
dbx_sharing 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.The ID for the shared folder.
to_dropbox_id: DropboxIdA account or team member ID to transfer ownership to.
Implementations
sourceimpl TransferFolderArg
impl TransferFolderArg
pub fn new(shared_folder_id: SharedFolderId, to_dropbox_id: DropboxId) -> Self
Trait Implementations
sourceimpl Clone for TransferFolderArg
impl Clone for TransferFolderArg
sourcefn clone(&self) -> TransferFolderArg
fn clone(&self) -> TransferFolderArg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TransferFolderArg
impl Debug for TransferFolderArg
sourceimpl<'de> Deserialize<'de> for TransferFolderArg
impl<'de> Deserialize<'de> for TransferFolderArg
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<TransferFolderArg> for TransferFolderArg
impl PartialEq<TransferFolderArg> for TransferFolderArg
sourcefn eq(&self, other: &TransferFolderArg) -> bool
fn eq(&self, other: &TransferFolderArg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TransferFolderArg) -> bool
fn ne(&self, other: &TransferFolderArg) -> bool
This method tests for !=.
sourceimpl Serialize for TransferFolderArg
impl Serialize for TransferFolderArg
impl Eq for TransferFolderArg
impl StructuralEq for TransferFolderArg
impl StructuralPartialEq for TransferFolderArg
Auto Trait Implementations
impl RefUnwindSafe for TransferFolderArg
impl Send for TransferFolderArg
impl Sync for TransferFolderArg
impl Unpin for TransferFolderArg
impl UnwindSafe for TransferFolderArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more