pub struct SpendControlStatusDetails {
pub reached: bool,
pub individual_limit: Option<Option<Box<SpendControlLimitDetails>>>,
}Fields§
§reached: bool§individual_limit: Option<Option<Box<SpendControlLimitDetails>>>Implementations§
Source§impl SpendControlStatusDetails
impl SpendControlStatusDetails
pub fn new(reached: bool) -> SpendControlStatusDetails
Trait Implementations§
Source§impl Clone for SpendControlStatusDetails
impl Clone for SpendControlStatusDetails
Source§fn clone(&self) -> SpendControlStatusDetails
fn clone(&self) -> SpendControlStatusDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpendControlStatusDetails
impl Debug for SpendControlStatusDetails
Source§impl Default for SpendControlStatusDetails
impl Default for SpendControlStatusDetails
Source§fn default() -> SpendControlStatusDetails
fn default() -> SpendControlStatusDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpendControlStatusDetails
impl<'de> Deserialize<'de> for SpendControlStatusDetails
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
impl StructuralPartialEq for SpendControlStatusDetails
Auto Trait Implementations§
impl Freeze for SpendControlStatusDetails
impl RefUnwindSafe for SpendControlStatusDetails
impl Send for SpendControlStatusDetails
impl Sync for SpendControlStatusDetails
impl Unpin for SpendControlStatusDetails
impl UnsafeUnpin for SpendControlStatusDetails
impl UnwindSafe for SpendControlStatusDetails
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