pub struct BridgedEvent {
pub source: CmaSource,
pub cma_path: String,
pub cma_op: String,
pub bytes: u64,
pub prev_hash: [u8; 32],
pub bridge_hash: [u8; 32],
}Expand description
One CMA audit row that has been bridged into mnemo’s chain.
Fields§
§source: CmaSource§cma_path: String§cma_op: String§bytes: u64§prev_hash: [u8; 32]§bridge_hash: [u8; 32]Trait Implementations§
Source§impl Clone for BridgedEvent
impl Clone for BridgedEvent
Source§fn clone(&self) -> BridgedEvent
fn clone(&self) -> BridgedEvent
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 BridgedEvent
impl Debug for BridgedEvent
Source§impl<'de> Deserialize<'de> for BridgedEvent
impl<'de> Deserialize<'de> for BridgedEvent
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 Eq for BridgedEvent
Source§impl PartialEq for BridgedEvent
impl PartialEq for BridgedEvent
Source§impl Serialize for BridgedEvent
impl Serialize for BridgedEvent
impl StructuralPartialEq for BridgedEvent
Auto Trait Implementations§
impl Freeze for BridgedEvent
impl RefUnwindSafe for BridgedEvent
impl Send for BridgedEvent
impl Sync for BridgedEvent
impl Unpin for BridgedEvent
impl UnsafeUnpin for BridgedEvent
impl UnwindSafe for BridgedEvent
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