pub struct BaseItem {
pub id: String,
pub created_by: IdentitySet,
pub created_date_time: String,
pub description: String,
pub e_tag: String,
pub last_modified_by: IdentitySet,
pub last_modified_date_time: String,
pub name: String,
pub parent_reference: ItemReference,
pub web_url: String,
}Expand description
An abstract resource that contains a common set of properties shared among several other resource types.
Fields§
§id: StringThe unique identifier of the drive.
created_by: IdentitySetIdentity of the user, device, or application which created the item.
created_date_time: StringDate and time of item creation (ISO 8601 UTC).
description: StringProvides a user-visible description of the item.
e_tag: StringETag for the item.
last_modified_by: IdentitySetIdentity of the user, device, and application which last modified the item.
last_modified_date_time: StringDate and time the item was last modified.
name: StringThe name of the item.
parent_reference: ItemReferenceParent information, if the item has a parent.
web_url: StringURL that displays the resource in the browser.
Trait Implementations§
source§impl<'de> Deserialize<'de> for BaseItem
impl<'de> Deserialize<'de> for BaseItem
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 BaseItem
impl Send for BaseItem
impl Sync for BaseItem
impl Unpin for BaseItem
impl UnwindSafe for BaseItem
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