#[non_exhaustive]pub struct CreateSharedLinkWithSettingsArg {
pub path: ReadPath,
pub settings: Option<SharedLinkSettings>,
}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.path: ReadPathThe path to be shared by the shared link.
settings: Option<SharedLinkSettings>The requested settings for the newly created shared link.
Implementations
sourceimpl CreateSharedLinkWithSettingsArg
impl CreateSharedLinkWithSettingsArg
pub fn new(path: ReadPath) -> Self
pub fn with_settings(self, value: SharedLinkSettings) -> Self
Trait Implementations
sourceimpl Clone for CreateSharedLinkWithSettingsArg
impl Clone for CreateSharedLinkWithSettingsArg
sourcefn clone(&self) -> CreateSharedLinkWithSettingsArg
fn clone(&self) -> CreateSharedLinkWithSettingsArg
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<'de> Deserialize<'de> for CreateSharedLinkWithSettingsArg
impl<'de> Deserialize<'de> for CreateSharedLinkWithSettingsArg
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
sourcefn eq(&self, other: &CreateSharedLinkWithSettingsArg) -> bool
fn eq(&self, other: &CreateSharedLinkWithSettingsArg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateSharedLinkWithSettingsArg) -> bool
fn ne(&self, other: &CreateSharedLinkWithSettingsArg) -> bool
This method tests for !=.
impl Eq for CreateSharedLinkWithSettingsArg
impl StructuralEq for CreateSharedLinkWithSettingsArg
impl StructuralPartialEq for CreateSharedLinkWithSettingsArg
Auto Trait Implementations
impl RefUnwindSafe for CreateSharedLinkWithSettingsArg
impl Send for CreateSharedLinkWithSettingsArg
impl Sync for CreateSharedLinkWithSettingsArg
impl Unpin for CreateSharedLinkWithSettingsArg
impl UnwindSafe for CreateSharedLinkWithSettingsArg
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