[−][src]Struct onedrive_api::resource::Drive
Drive resource type
The drive resource is the top level object representing a user's OneDrive or a document library in SharePoint.
See also
Fields (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.id: Option<DriveId>
created_by: Option<JsonValue>
created_date_time: Option<TimestampString>
description: Option<String>
drive_type: Option<JsonValue>
items: Option<Vec<DriveItem>>
last_modified_by: Option<JsonValue>
last_modified_date_time: Option<TimestampString>
name: Option<String>
owner: Option<JsonValue>
quota: Option<JsonValue>
root: Option<DriveItem>
special: Option<Vec<DriveItem>>
system: Option<JsonValue>
web_url: Option<Url>
Trait Implementations
impl Debug for Drive
[src]
impl Default for Drive
[src]
impl<'de> Deserialize<'de> for Drive
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Drive
[src]
Auto Trait Implementations
impl RefUnwindSafe for Drive
[src]
impl Send for Drive
[src]
impl Sync for Drive
[src]
impl Unpin for Drive
[src]
impl UnwindSafe for Drive
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,