pub struct BlockStoredEvent {
pub block_hashes: Vec<String>,
pub parent_block_hash: Option<String>,
pub token_ids: Vec<u32>,
pub block_size: u32,
pub medium: Option<String>,
pub lora_name: Option<String>,
pub group_idx: Option<u32>,
pub bytes_per_block: Option<u64>,
}Fields§
§block_hashes: Vec<String>§parent_block_hash: Option<String>§token_ids: Vec<u32>§block_size: u32§medium: Option<String>§lora_name: Option<String>§group_idx: Option<u32>§bytes_per_block: Option<u64>Trait Implementations§
Source§impl Clone for BlockStoredEvent
impl Clone for BlockStoredEvent
Source§fn clone(&self) -> BlockStoredEvent
fn clone(&self) -> BlockStoredEvent
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 BlockStoredEvent
impl Debug for BlockStoredEvent
Source§impl<'de> Deserialize<'de> for BlockStoredEvent
impl<'de> Deserialize<'de> for BlockStoredEvent
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
Source§impl PartialEq for BlockStoredEvent
impl PartialEq for BlockStoredEvent
Source§fn eq(&self, other: &BlockStoredEvent) -> bool
fn eq(&self, other: &BlockStoredEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BlockStoredEvent
impl Serialize for BlockStoredEvent
impl StructuralPartialEq for BlockStoredEvent
Auto Trait Implementations§
impl Freeze for BlockStoredEvent
impl RefUnwindSafe for BlockStoredEvent
impl Send for BlockStoredEvent
impl Sync for BlockStoredEvent
impl Unpin for BlockStoredEvent
impl UnsafeUnpin for BlockStoredEvent
impl UnwindSafe for BlockStoredEvent
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