Struct onedrive::ItemReference
source · pub struct ItemReference {
pub drive_id: String,
pub drive_type: String,
pub id: String,
pub list_id: Option<String>,
pub name: Option<String>,
pub path: String,
pub share_id: Option<String>,
pub sharepoint_ids: Option<SharePointIds>,
pub site_id: Option<String>,
}Expand description
Provides information necessary to address a DriveItem via the API.
Fields§
§drive_id: StringIdentifier of the drive instance that contains the item.
drive_type: StringIdentifies the type of drive. See drive resource for values.
id: StringIdentifier of the item in the drive.
list_id: Option<String>Identifier of the list.
name: Option<String>The name of the item being referenced.
path: StringPath that can be used to navigate to the item.
Identifier for a shared resource that can be accessed via the Shares API.
Identifiers useful for SharePoint REST compatibility.
site_id: Option<String>Identifier of the site.
Trait Implementations§
source§impl Debug for ItemReference
impl Debug for ItemReference
source§impl<'de> Deserialize<'de> for ItemReference
impl<'de> Deserialize<'de> for ItemReference
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
Auto Trait Implementations§
impl RefUnwindSafe for ItemReference
impl Send for ItemReference
impl Sync for ItemReference
impl Unpin for ItemReference
impl UnwindSafe for ItemReference
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