#[repr(transparent)]pub struct Code(pub Text);Tuple Fields§
§0: TextImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
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
Source§impl FieldValue for Code
impl FieldValue for Code
Source§impl Ord for Code
impl Ord for Code
Source§impl PartialOrd<Code> for Text
impl PartialOrd<Code> for Text
Source§impl PartialOrd<String> for Code
impl PartialOrd<String> for Code
Source§impl PartialOrd for Code
impl PartialOrd for Code
Source§impl SanitizeAuto for Code
impl SanitizeAuto for Code
fn sanitize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl SanitizeCustom for Code
impl SanitizeCustom for Code
fn sanitize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl UpdateView for Code
impl UpdateView for Code
Source§type UpdateViewType = <String as UpdateView>::UpdateViewType
type UpdateViewType = <String as UpdateView>::UpdateViewType
A view payload that may be applied to
Self.fn merge(&mut self, patch: Self::UpdateViewType) -> Result<(), MergePatchError>
Source§impl ValidateAuto for Code
impl ValidateAuto for Code
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Code
impl ValidateCustom for Code
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Source§impl Visitable for Code
impl Visitable for Code
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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