[][src]Struct odata_client::EntityLink

pub struct EntityLink<P: EntityProperties> {
    pub id: String,
    // some fields omitted
}

A link to a fetchable entity record.

Fields

id: String

Implementations

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

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

Fetch this record in full.

Trait Implementations

impl<P: Debug + EntityProperties> Debug for EntityLink<P>[src]

impl<'de, P: EntityProperties> Deserialize<'de> for EntityLink<P>[src]

Auto Trait Implementations

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

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

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

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

impl<P> UnwindSafe for EntityLink<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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.