pub struct HofValueString {
pub value: String,
pub rank: Option<i32>,
}
Fields§
§value: String
§rank: Option<i32>
Trait Implementations§
Source§impl Clone for HofValueString
impl Clone for HofValueString
Source§fn clone(&self) -> HofValueString
fn clone(&self) -> HofValueString
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 HofValueString
impl Debug for HofValueString
Source§impl<'de> Deserialize<'de> for HofValueString
impl<'de> Deserialize<'de> for HofValueString
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 HofValueString
impl PartialEq for HofValueString
impl StructuralPartialEq for HofValueString
Auto Trait Implementations§
impl Freeze for HofValueString
impl RefUnwindSafe for HofValueString
impl Send for HofValueString
impl Sync for HofValueString
impl Unpin for HofValueString
impl UnwindSafe for HofValueString
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