[][src]Struct ya_client_model::market::agreement_proposal::AgreementProposal

pub struct AgreementProposal {
    pub proposal_id: String,
    pub valid_to: DateTime<Utc>,
}

Fields

proposal_id: String

id of the proposal to be promoted to the Agreement

valid_to: DateTime<Utc>

End of validity period. Agreement needs to be accepted, rejected or cancellled before this date; otherwise will expire

Implementations

impl AgreementProposal[src]

pub fn new(proposal_id: String, valid_to: DateTime<Utc>) -> AgreementProposal[src]

Trait Implementations

impl Clone for AgreementProposal[src]

impl Debug for AgreementProposal[src]

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

impl PartialEq<AgreementProposal> for AgreementProposal[src]

impl Serialize for AgreementProposal[src]

impl StructuralPartialEq for AgreementProposal[src]

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