pub struct CodeAttr {
pub key: Option<CowStr>,
pub value: CowStr,
}
Fields§
§key: Option<CowStr>
§value: CowStr
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeAttr
impl<'de> Deserialize<'de> for CodeAttr
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 StructuralPartialEq for CodeAttr
Auto Trait Implementations§
impl Freeze for CodeAttr
impl RefUnwindSafe for CodeAttr
impl Send for CodeAttr
impl Sync for CodeAttr
impl Unpin for CodeAttr
impl UnwindSafe for CodeAttr
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