pub struct startBlock {}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::startBlock.
Implementations§
Source§impl startBlock
impl startBlock
pub const ACTION_NAME: &'static str = "startBlock"
Trait Implementations§
Source§impl Clone for startBlock
impl Clone for startBlock
Source§fn clone(&self) -> startBlock
fn clone(&self) -> startBlock
Returns a duplicate of the value. Read more
1.0.0 · 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 startBlock
impl Debug for startBlock
Source§impl<'de> Deserialize<'de> for startBlock
impl<'de> Deserialize<'de> for startBlock
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 Pack for startBlock
impl Pack for startBlock
Source§impl Serialize for startBlock
impl Serialize for startBlock
Source§impl ToSchema for startBlock
impl ToSchema for startBlock
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for startBlock
impl<'a> Unpack<'a> for startBlock
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for startBlock
impl RefUnwindSafe for startBlock
impl Send for startBlock
impl Sync for startBlock
impl Unpin for startBlock
impl UnsafeUnpin for startBlock
impl UnwindSafe for startBlock
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