pub struct DataBlockSa {
pub last_block: bool,
pub block_number: u32,
pub raw_data: Vec<u8>,
}Expand description
DataBlock-SA: one block of a SET/ACTION block transfer. Encoded as
last-block (boolean) ‖ block-number (u32) ‖ raw-data (A-XDR octet-string).
Fields§
§last_block: boolWhether this is the last block of the transfer.
block_number: u32The block number.
raw_data: Vec<u8>The raw block data.
Implementations§
Source§impl DataBlockSa
impl DataBlockSa
Trait Implementations§
Source§impl Clone for DataBlockSa
impl Clone for DataBlockSa
Source§fn clone(&self) -> DataBlockSa
fn clone(&self) -> DataBlockSa
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 DataBlockSa
impl Debug for DataBlockSa
impl Eq for DataBlockSa
Source§impl PartialEq for DataBlockSa
impl PartialEq for DataBlockSa
impl StructuralPartialEq for DataBlockSa
Auto Trait Implementations§
impl Freeze for DataBlockSa
impl RefUnwindSafe for DataBlockSa
impl Send for DataBlockSa
impl Sync for DataBlockSa
impl Unpin for DataBlockSa
impl UnsafeUnpin for DataBlockSa
impl UnwindSafe for DataBlockSa
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