Enum onedrive::SharingLinkType
source · pub enum SharingLinkType {
View,
Edit,
Embed,
}Expand description
All the possible sharing link types that are supported
Variants§
View
Creates a read-only link to the DriveItem.
Edit
Creates a read-write link to the DriveItem.
Embed
Creates an embeddable link to the DriveItem. This option is only available for files in OneDrive personal.
Trait Implementations§
source§impl Clone for SharingLinkType
impl Clone for SharingLinkType
source§fn clone(&self) -> SharingLinkType
fn clone(&self) -> SharingLinkType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SharingLinkType
impl Debug for SharingLinkType
source§impl<'de> Deserialize<'de> for SharingLinkType
impl<'de> Deserialize<'de> for SharingLinkType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for SharingLinkType
impl FromStr for SharingLinkType
source§impl PartialEq for SharingLinkType
impl PartialEq for SharingLinkType
source§fn eq(&self, other: &SharingLinkType) -> bool
fn eq(&self, other: &SharingLinkType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SharingLinkType
impl Serialize for SharingLinkType
impl StructuralPartialEq for SharingLinkType
Auto Trait Implementations§
impl RefUnwindSafe for SharingLinkType
impl Send for SharingLinkType
impl Sync for SharingLinkType
impl Unpin for SharingLinkType
impl UnwindSafe for SharingLinkType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more