Enum extfg_sigma::IsoFieldData
source · pub enum IsoFieldData {
String(String),
Raw(Vec<u8>),
}
Variants§
Implementations§
source§impl IsoFieldData
impl IsoFieldData
pub fn to_string_lossy(self) -> String
pub fn to_cow_str_lossy<'a, 'b: 'a>(&'b self) -> Cow<'a, str>
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn from_bytes(data: Bytes) -> Self
Trait Implementations§
source§impl Clone for IsoFieldData
impl Clone for IsoFieldData
source§fn clone(&self) -> IsoFieldData
fn clone(&self) -> IsoFieldData
Returns a copy 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 IsoFieldData
impl Debug for IsoFieldData
source§impl From<&[u8]> for IsoFieldData
impl From<&[u8]> for IsoFieldData
source§impl From<&str> for IsoFieldData
impl From<&str> for IsoFieldData
source§impl From<String> for IsoFieldData
impl From<String> for IsoFieldData
source§impl PartialEq<IsoFieldData> for IsoFieldData
impl PartialEq<IsoFieldData> for IsoFieldData
source§fn eq(&self, other: &IsoFieldData) -> bool
fn eq(&self, other: &IsoFieldData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IsoFieldData
Auto Trait Implementations§
impl RefUnwindSafe for IsoFieldData
impl Send for IsoFieldData
impl Sync for IsoFieldData
impl Unpin for IsoFieldData
impl UnwindSafe for IsoFieldData
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