pub struct Utf8 {
pub length: u16,
pub bytes: Vec<u8>,
pub string: RefCell<Option<String>>,
}Expand description
Represents constant UTF8.
Fields§
§length: u16§bytes: Vec<u8>§string: RefCell<Option<String>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Utf8
impl<'de> Deserialize<'de> for Utf8
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
impl Eq for Utf8
impl StructuralPartialEq for Utf8
Auto Trait Implementations§
impl !Freeze for Utf8
impl !RefUnwindSafe for Utf8
impl Send for Utf8
impl !Sync for Utf8
impl Unpin for Utf8
impl UnwindSafe for Utf8
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