pub struct CounterRule {
pub ownership: Ownership,
pub certification: Certification,
pub floor: i64,
pub ceiling: Option<i64>,
pub initial_verb: String,
pub initial_key: String,
pub headroom_key: Option<String>,
pub issuer: String,
pub increment: (String, String),
pub decrement: (String, String),
pub transfer: Option<(String, String, String)>,
pub transfer_headroom: Option<(String, String, String)>,
}Fields§
§ownership: Ownership§certification: Certification§floor: i64§ceiling: Option<i64>§initial_verb: String§initial_key: String§headroom_key: Option<String>§issuer: String§increment: (String, String)§decrement: (String, String)§transfer: Option<(String, String, String)>§transfer_headroom: Option<(String, String, String)>Implementations§
Source§impl CounterRule
impl CounterRule
Trait Implementations§
Source§impl Clone for CounterRule
impl Clone for CounterRule
Source§impl Debug for CounterRule
impl Debug for CounterRule
impl Eq for CounterRule
Source§impl PartialEq for CounterRule
impl PartialEq for CounterRule
impl StructuralPartialEq for CounterRule
Auto Trait Implementations§
impl Forget for CounterRule
impl Freeze for CounterRule
impl Move for CounterRule
impl RefUnwindSafe for CounterRule
impl Send for CounterRulewhere
RawVecInner: Send,
impl Sync for CounterRulewhere
RawVecInner: Sync,
impl Unpin for CounterRule
impl UnsafeUnpin for CounterRulewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for CounterRulewhere
RawVecInner: UnwindSafe,
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