Struct reputation_module::icrc_7::types::Approval
source · pub struct Approval {
pub expires_at: Option<u64>,
pub account: Account,
}
Fields§
§expires_at: Option<u64>
§account: Account
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Approval
impl<'de> Deserialize<'de> for Approval
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 PartialEq for Approval
impl PartialEq for Approval
source§impl Storable for Approval
impl Storable for Approval
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for Approval
impl StructuralPartialEq for Approval
Auto Trait Implementations§
impl RefUnwindSafe for Approval
impl Send for Approval
impl Sync for Approval
impl Unpin for Approval
impl UnwindSafe for Approval
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