pub struct String20(pub String);Expand description
Character string of max length 20. In order to limit internal storage, implementations SHALL reduce the length of strings using multi-byte characters so that the string may be stored using “maxLength” octets in the given encoding.
Tuple Fields§
§0: StringTrait Implementations§
impl Eq for String20
Source§impl Ord for String20
impl Ord for String20
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for String20
impl PartialOrd for String20
impl StructuralPartialEq for String20
Source§impl YaDeserialize for String20
impl YaDeserialize for String20
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
Source§impl YaSerialize for String20
impl YaSerialize for String20
Auto Trait Implementations§
impl Freeze for String20
impl RefUnwindSafe for String20
impl Send for String20
impl Sync for String20
impl Unpin for String20
impl UnsafeUnpin for String20
impl UnwindSafe for String20
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