pub struct ClaimableDetails {
pub claimable: String,
pub method: ClaimMethod,
pub description: Option<String>,
pub min_amount: Option<Amount>,
pub max_amount: Option<Amount>,
}Expand description
Describes basic information for a claimable string.
Fields§
§claimable: StringThe claimable string encoding the claim method.
method: ClaimMethodThe deserialized claim method.
description: Option<String>The description encoded in the claimable, if any.
min_amount: Option<Amount>The minimum amount that can be received from the claimable.
This will be None if amount is specified.
max_amount: Option<Amount>The maximum amount that can be received from the claimable.
This will be None if amount is specified.
Auto Trait Implementations§
impl Freeze for ClaimableDetails
impl RefUnwindSafe for ClaimableDetails
impl Send for ClaimableDetails
impl Sync for ClaimableDetails
impl Unpin for ClaimableDetails
impl UnwindSafe for ClaimableDetails
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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