pub struct Agreement {
pub agreement: AgreementType,
pub signed_at: String,
pub ip_address: String,
pub revision: Option<String>,
}Expand description
Agreement for broker account.
Fields§
§agreement: AgreementTypeAgreement type.
signed_at: StringWhen the agreement was signed (RFC3339).
ip_address: StringIP address from which agreement was signed.
revision: Option<String>Revision of the agreement.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Agreement
impl<'de> Deserialize<'de> for Agreement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Agreement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Agreement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Agreement
impl Serialize for Agreement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Agreement
impl RefUnwindSafe for Agreement
impl Send for Agreement
impl Sync for Agreement
impl Unpin for Agreement
impl UnwindSafe for Agreement
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