[][src]Struct azure_sdk_cosmos::DocumentAttributes

pub struct DocumentAttributes {
    pub id: String,
    pub rid: String,
    pub ts: u64,
    pub _self: String,
    pub etag: String,
    pub attachments: String,
}

Fields

id: Stringrid: Stringts: u64_self: Stringetag: Stringattachments: String

Methods

impl DocumentAttributes[src]

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

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

pub fn ts(&self) -> u64[src]

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

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

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

pub fn set_id<T>(&mut self, value: T) where
    T: Into<String>, 
[src]

pub fn set_rid<T>(&mut self, value: T) where
    T: Into<String>, 
[src]

pub fn set_ts(&mut self, value: u64)[src]

pub fn set_self<T>(&mut self, value: T) where
    T: Into<String>, 
[src]

pub fn set_etag<T>(&mut self, value: T) where
    T: Into<String>, 
[src]

pub fn set_attachments<T>(&mut self, value: T) where
    T: Into<String>, 
[src]

Trait Implementations

impl Clone for DocumentAttributes[src]

impl Debug for DocumentAttributes[src]

impl Default for DocumentAttributes[src]

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

impl<'a> From<&'a DocumentAttributes> for IfMatchCondition<'a>[src]

impl PartialEq<DocumentAttributes> for DocumentAttributes[src]

impl Serialize for DocumentAttributes[src]

impl StructuralPartialEq for DocumentAttributes[src]

impl<'_, '_> TryFrom<(&'_ HeaderMap<HeaderValue>, &'_ [u8])> for DocumentAttributes[src]

type Error = AzureError

The type returned in the event of a conversion error.

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: Deserialize<'de>, 
[src]

impl<T> From<T> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,