[][src]Struct graph_rs_sdk::attachments::AttachmentRequest

pub struct AttachmentRequest<'a, Client> { /* fields omitted */ }

Implementations

impl<'a, Client> AttachmentRequest<'a, Client> where
    Client: RequestClient
[src]

pub fn id<ID: AsRef<str>>(&self, id: ID) -> AttachmentsRequest<'a, Client>[src]

pub fn list_attachments(&'a self) -> IntoResponse<'a, Collection<Value>, Client>[src]

pub fn create_attachments<B: Serialize>(
    &'a self,
    body: &B
) -> IntoResponse<'a, Value, Client>
[src]

pub fn create_upload_session<P: AsRef<Path> + Send + Sync, B: Serialize>(
    &'a self,
    file: P,
    body: &B
) -> IntoResponse<'a, UploadSessionClient<Client>, Client>
[src]

Auto Trait Implementations

impl<'a, Client> RefUnwindSafe for AttachmentRequest<'a, Client> where
    Client: RefUnwindSafe
[src]

impl<'a, Client> Send for AttachmentRequest<'a, Client> where
    Client: Sync
[src]

impl<'a, Client> Sync for AttachmentRequest<'a, Client> where
    Client: Sync
[src]

impl<'a, Client> Unpin for AttachmentRequest<'a, Client>[src]

impl<'a, Client> UnwindSafe for AttachmentRequest<'a, Client> where
    Client: RefUnwindSafe
[src]

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> 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> Pointable for T

type Init = T

The type for initializers.

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.