pub struct AddressDto(pub [u8; 24]);
Expand description
Address.
Tuple Fields§
§0: [u8; 24]
Implementations§
Source§impl AddressDto
impl AddressDto
pub const LENGTH: usize = 24usize
Sourcepub fn get_address(&self) -> [u8; 24]
pub fn get_address(&self) -> [u8; 24]
Sourcepub fn serializer(&self) -> Vec<u8> ⓘ
pub fn serializer(&self) -> Vec<u8> ⓘ
Sourcepub fn from_binary(src: &[u8]) -> Self
pub fn from_binary(src: &[u8]) -> Self
Trait Implementations§
Source§impl Clone for AddressDto
impl Clone for AddressDto
Source§fn clone(&self) -> AddressDto
fn clone(&self) -> AddressDto
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 AddressDto
impl Debug for AddressDto
impl Copy for AddressDto
Auto Trait Implementations§
impl Freeze for AddressDto
impl RefUnwindSafe for AddressDto
impl Send for AddressDto
impl Sync for AddressDto
impl Unpin for AddressDto
impl UnwindSafe for AddressDto
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