Struct ya_agreement_utils::agreement::OfferTemplate
source · pub struct OfferTemplate {
pub properties: Value,
pub constraints: String,
}
Fields§
§properties: Value
§constraints: String
Implementations§
source§impl OfferTemplate
impl OfferTemplate
Trait Implementations§
source§impl Clone for OfferTemplate
impl Clone for OfferTemplate
source§fn clone(&self) -> OfferTemplate
fn clone(&self) -> OfferTemplate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OfferTemplate
impl Debug for OfferTemplate
source§impl Default for OfferTemplate
impl Default for OfferTemplate
source§impl<'de> Deserialize<'de> for OfferTemplate
impl<'de> Deserialize<'de> for OfferTemplate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OfferTemplate
impl Display for OfferTemplate
Auto Trait Implementations§
impl RefUnwindSafe for OfferTemplate
impl Send for OfferTemplate
impl Sync for OfferTemplate
impl Unpin for OfferTemplate
impl UnwindSafe for OfferTemplate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more