pub struct FixString(_);
Implementations
sourceimpl FixString
impl FixString
pub fn new() -> FixString
pub fn from_ascii(buf: Vec<u8, Global>) -> Result<FixString, FixStringError>
pub unsafe fn from_ascii_unchecked(buf: Vec<u8, Global>) -> FixString
pub fn from_ascii_lossy(buf: Vec<u8, Global>) -> FixString
pub fn as_utf8(&self) -> &str
pub fn into_utf8(self) -> String
pub fn into_bytes(self) -> Vec<u8, Global>
pub fn len(&self) -> usize
Methods from Deref<Target = FixStr>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FixString
impl<'de> Deserialize<'de> for FixString
sourcefn deserialize<D>(
deserializer: D
) -> Result<FixString, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<FixString, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for FixString
impl Ord for FixString
sourceimpl PartialOrd<FixString> for FixString
impl PartialOrd<FixString> for FixString
sourcefn partial_cmp(&self, other: &FixString) -> Option<Ordering>
fn partial_cmp(&self, other: &FixString) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for FixString
impl Serialize for FixString
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for FixString
impl StructuralEq for FixString
impl StructuralPartialEq for FixString
Auto Trait Implementations
impl RefUnwindSafe for FixString
impl Send for FixString
impl Sync for FixString
impl Unpin for FixString
impl UnwindSafe for FixString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more