[][src]Struct onedrive_api::resource::Tag

pub struct Tag(pub String);

Wrapper for a tag representing the state of an item.

Used for avoid data transmission when a resource is not modified.

The tag from DriveItem::c_tag is for the content of the item, while the one from DriveItem::e_tag is for the entire item (metadata + content).

See also

Microsoft Docs: driveItem resource type

Implementations

impl Tag[src]

pub fn as_str(&self) -> &str[src]

View as str.

Trait Implementations

impl Clone for Tag[src]

impl Debug for Tag[src]

impl<'de> Deserialize<'de> for Tag[src]

impl Eq for Tag[src]

impl Hash for Tag[src]

impl PartialEq<Tag> for Tag[src]

impl Serialize for Tag[src]

impl StructuralEq for Tag[src]

impl StructuralPartialEq for Tag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.