pub struct PrefixType {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>§label: Option<Label>Implementations§
Source§impl PrefixType
impl PrefixType
pub fn new() -> PrefixType
Trait Implementations§
Source§impl Clone for PrefixType
impl Clone for PrefixType
Source§fn clone(&self) -> PrefixType
fn clone(&self) -> PrefixType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrefixType
impl Debug for PrefixType
Source§impl Default for PrefixType
impl Default for PrefixType
Source§fn default() -> PrefixType
fn default() -> PrefixType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefixType
impl<'de> Deserialize<'de> for PrefixType
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 PartialEq for PrefixType
impl PartialEq for PrefixType
Source§impl Serialize for PrefixType
impl Serialize for PrefixType
impl StructuralPartialEq for PrefixType
Auto Trait Implementations§
impl Freeze for PrefixType
impl RefUnwindSafe for PrefixType
impl Send for PrefixType
impl Sync for PrefixType
impl Unpin for PrefixType
impl UnsafeUnpin for PrefixType
impl UnwindSafe for PrefixType
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