pub struct NeoByteString { /* private fields */ }Expand description
Neo N3 ByteString type
Implementations§
Source§impl NeoByteString
impl NeoByteString
Trait Implementations§
Source§impl AsRef<[u8]> for NeoByteString
impl AsRef<[u8]> for NeoByteString
Source§impl Clone for NeoByteString
impl Clone for NeoByteString
Source§fn clone(&self) -> NeoByteString
fn clone(&self) -> NeoByteString
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 NeoByteString
impl Debug for NeoByteString
Source§impl Default for NeoByteString
impl Default for NeoByteString
Source§fn default() -> NeoByteString
fn default() -> NeoByteString
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NeoByteString
impl<'de> Deserialize<'de> for NeoByteString
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 Display for NeoByteString
impl Display for NeoByteString
impl Eq for NeoByteString
Source§impl Extend<u8> for NeoByteString
impl Extend<u8> for NeoByteString
Source§fn extend<I: IntoIterator<Item = u8>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = u8>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<&[u8]> for NeoByteString
impl From<&[u8]> for NeoByteString
Source§impl From<Hash160> for NeoByteString
impl From<Hash160> for NeoByteString
Source§impl From<Hash256> for NeoByteString
impl From<Hash256> for NeoByteString
Source§impl From<NeoByteString> for NeoValue
impl From<NeoByteString> for NeoValue
Source§fn from(value: NeoByteString) -> Self
fn from(value: NeoByteString) -> Self
Converts to this type from the input type.
Source§impl FromIterator<u8> for NeoByteString
impl FromIterator<u8> for NeoByteString
Source§impl Hash for NeoByteString
impl Hash for NeoByteString
Source§impl PartialEq for NeoByteString
impl PartialEq for NeoByteString
Source§fn eq(&self, other: &NeoByteString) -> bool
fn eq(&self, other: &NeoByteString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NeoByteString
impl Serialize for NeoByteString
impl StructuralPartialEq for NeoByteString
Source§impl TryFrom<NeoByteString> for Hash160
impl TryFrom<NeoByteString> for Hash160
Auto Trait Implementations§
impl Freeze for NeoByteString
impl RefUnwindSafe for NeoByteString
impl Send for NeoByteString
impl Sync for NeoByteString
impl Unpin for NeoByteString
impl UnsafeUnpin for NeoByteString
impl UnwindSafe for NeoByteString
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