#[non_exhaustive]pub struct SharedLinkSettingsAddPasswordDetails {
pub shared_content_access_level: AccessLevel,
pub shared_content_link: Option<String>,
}Available on crate feature
dbx_team_log only.Expand description
Added a password to the shared link.
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.Shared content access level.
Shared content link.
Implementations
sourceimpl SharedLinkSettingsAddPasswordDetails
impl SharedLinkSettingsAddPasswordDetails
pub fn new(shared_content_access_level: AccessLevel) -> Self
Trait Implementations
sourceimpl Clone for SharedLinkSettingsAddPasswordDetails
impl Clone for SharedLinkSettingsAddPasswordDetails
sourcefn clone(&self) -> SharedLinkSettingsAddPasswordDetails
fn clone(&self) -> SharedLinkSettingsAddPasswordDetails
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 SharedLinkSettingsAddPasswordDetails
impl<'de> Deserialize<'de> for SharedLinkSettingsAddPasswordDetails
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: &SharedLinkSettingsAddPasswordDetails) -> bool
fn eq(&self, other: &SharedLinkSettingsAddPasswordDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SharedLinkSettingsAddPasswordDetails) -> bool
fn ne(&self, other: &SharedLinkSettingsAddPasswordDetails) -> bool
This method tests for !=.
impl Eq for SharedLinkSettingsAddPasswordDetails
impl StructuralEq for SharedLinkSettingsAddPasswordDetails
impl StructuralPartialEq for SharedLinkSettingsAddPasswordDetails
Auto Trait Implementations
impl RefUnwindSafe for SharedLinkSettingsAddPasswordDetails
impl Send for SharedLinkSettingsAddPasswordDetails
impl Sync for SharedLinkSettingsAddPasswordDetails
impl Unpin for SharedLinkSettingsAddPasswordDetails
impl UnwindSafe for SharedLinkSettingsAddPasswordDetails
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