[][src]Struct odata_client::EntitySetEndpoint

pub struct EntitySetEndpoint<P> {
    pub service_url: &'static str,
    pub name: &'static str,
    pub marker: PhantomData<P>,
}

Represents an Entity Set in an OData service.

Fields

service_url: &'static strname: &'static strmarker: PhantomData<P>

Implementations

impl<P: EntityProperties> EntitySetEndpoint<P>[src]

pub async fn retrieve<Client: ODataHttpClient>(
    &self,
    client: &Client
) -> Result<Vec<Entity<P>>, Error>
[src]

Retrieves entity records in this entity set.

pub async fn retrieve_entity<Client: ODataHttpClient>(
    &self,
    client: &Client,
    id: &str
) -> Result<Entity<P>, Error>
[src]

Retrieves a single entity record from the entity set.

Auto Trait Implementations

impl<P> RefUnwindSafe for EntitySetEndpoint<P> where
    P: RefUnwindSafe
[src]

impl<P> Send for EntitySetEndpoint<P> where
    P: Send
[src]

impl<P> Sync for EntitySetEndpoint<P> where
    P: Sync
[src]

impl<P> Unpin for EntitySetEndpoint<P> where
    P: Unpin
[src]

impl<P> UnwindSafe for EntitySetEndpoint<P> where
    P: UnwindSafe
[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, 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.