pub struct AdmittanceInstructions {
pub outputs_to_admit: Vec<u32>,
pub coins_to_retain: Vec<u32>,
pub coins_removed: Option<Vec<u32>>,
}Expand description
Admittance instructions from overlay service.
Indicates which outputs were admitted and which coins were retained or removed by the topic manager.
Fields§
§outputs_to_admit: Vec<u32>Output indices admitted to the overlay.
coins_to_retain: Vec<u32>Coin (output) indices to retain for historical record.
coins_removed: Option<Vec<u32>>Coin indices that were removed (spent).
Implementations§
Source§impl AdmittanceInstructions
impl AdmittanceInstructions
Sourcepub fn has_activity(&self) -> bool
pub fn has_activity(&self) -> bool
Check if any activity was recorded (admits, retains, or removals).
Trait Implementations§
Source§impl Clone for AdmittanceInstructions
impl Clone for AdmittanceInstructions
Source§fn clone(&self) -> AdmittanceInstructions
fn clone(&self) -> AdmittanceInstructions
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 AdmittanceInstructions
impl Debug for AdmittanceInstructions
Source§impl Default for AdmittanceInstructions
impl Default for AdmittanceInstructions
Source§fn default() -> AdmittanceInstructions
fn default() -> AdmittanceInstructions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdmittanceInstructions
impl<'de> Deserialize<'de> for AdmittanceInstructions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdmittanceInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdmittanceInstructions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AdmittanceInstructions
impl Serialize for AdmittanceInstructions
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 AdmittanceInstructions
impl RefUnwindSafe for AdmittanceInstructions
impl Send for AdmittanceInstructions
impl Sync for AdmittanceInstructions
impl Unpin for AdmittanceInstructions
impl UnsafeUnpin for AdmittanceInstructions
impl UnwindSafe for AdmittanceInstructions
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