pub struct StringField {
pub value: Option<String>,
}
Fields§
§value: Option<String>
Implementations§
Source§impl StringField
impl StringField
pub fn new() -> StringField
Trait Implementations§
Source§impl Clone for StringField
impl Clone for StringField
Source§fn clone(&self) -> StringField
fn clone(&self) -> StringField
Returns a copy 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 StringField
impl Debug for StringField
Source§impl Default for StringField
impl Default for StringField
Source§fn default() -> StringField
fn default() -> StringField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringField
impl<'de> Deserialize<'de> for StringField
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 StringField
impl PartialEq for StringField
Source§impl Serialize for StringField
impl Serialize for StringField
impl StructuralPartialEq for StringField
Auto Trait Implementations§
impl Freeze for StringField
impl RefUnwindSafe for StringField
impl Send for StringField
impl Sync for StringField
impl Unpin for StringField
impl UnwindSafe for StringField
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