[][src]Struct ya_client_model::market::demand::Demand

pub struct Demand {
    pub properties: Value,
    pub constraints: String,
    pub demand_id: Option<String>,
    pub requestor_id: Option<String>,
}

Fields

properties: Valueconstraints: Stringdemand_id: Option<String>requestor_id: Option<String>

Implementations

impl Demand[src]

pub fn new(properties: Value, constraints: String) -> Demand[src]

pub fn demand_id(&self) -> Result<&str, ErrorMessage>[src]

pub fn requestor_id(&self) -> Result<&str, ErrorMessage>[src]

Trait Implementations

impl Clone for Demand[src]

impl Debug for Demand[src]

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

impl PartialEq<Demand> for Demand[src]

impl Serialize for Demand[src]

impl StructuralPartialEq for Demand[src]

Auto Trait Implementations

impl RefUnwindSafe for Demand

impl Send for Demand

impl Sync for Demand

impl Unpin for Demand

impl UnwindSafe for Demand

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, 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.