pub struct ByteString {
pub value: Option<Vec<u8>>,
}Expand description
Nullable opaque bytes. An empty byte string has a present, zero-length value.
Fields§
§value: Option<Vec<u8>>Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for ByteString
impl AsRef<[u8]> for ByteString
Source§impl BinaryDecodable for ByteString
impl BinaryDecodable for ByteString
Source§impl BinaryEncodable for ByteString
impl BinaryEncodable for ByteString
Source§impl Clone for ByteString
impl Clone for ByteString
Source§impl Debug for ByteString
impl Debug for ByteString
Source§impl Default for ByteString
impl Default for ByteString
impl Eq for ByteString
Source§impl From<&[u8]> for ByteString
impl From<&[u8]> for ByteString
Source§impl From<ByteString> for Identifier
impl From<ByteString> for Identifier
Source§fn from(v: ByteString) -> Self
fn from(v: ByteString) -> Self
Converts to this type from the input type.
Source§impl From<ByteString> for Variant
impl From<ByteString> for Variant
Source§fn from(v: ByteString) -> Self
fn from(v: ByteString) -> Self
Converts to this type from the input type.
Source§impl From<ByteString> for DataValue
impl From<ByteString> for DataValue
Source§fn from(v: ByteString) -> Self
fn from(v: ByteString) -> Self
Converts to this type from the input type.
Source§impl Hash for ByteString
impl Hash for ByteString
Source§impl PartialEq for ByteString
impl PartialEq for ByteString
impl StructuralPartialEq for ByteString
Source§impl VariantType for ByteString
impl VariantType for ByteString
Source§fn variant_type_id() -> VariantScalarTypeId
fn variant_type_id() -> VariantScalarTypeId
Built-in type identifier used when declaring a variable or array element.
Auto Trait Implementations§
impl Forget for ByteString
impl Freeze for ByteString
impl Move for ByteString
impl RefUnwindSafe for ByteString
impl Send for ByteString
impl Sync for ByteString
impl Unpin for ByteString
impl UnsafeUnpin for ByteString
impl UnwindSafe for ByteString
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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