pub struct StringItem {
pub value: String,
}Expand description
String value in shared items.
Fields§
§value: StringTrait Implementations§
Source§impl Clone for StringItem
impl Clone for StringItem
Source§fn clone(&self) -> StringItem
fn clone(&self) -> StringItem
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 StringItem
impl Debug for StringItem
Source§impl<'de> Deserialize<'de> for StringItem
impl<'de> Deserialize<'de> for StringItem
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 StringItem
impl PartialEq for StringItem
Source§impl Serialize for StringItem
impl Serialize for StringItem
impl StructuralPartialEq for StringItem
Auto Trait Implementations§
impl Freeze for StringItem
impl RefUnwindSafe for StringItem
impl Send for StringItem
impl Sync for StringItem
impl Unpin for StringItem
impl UnwindSafe for StringItem
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