pub struct Preference {
pub key: String,
pub value: PrefValue,
pub category: String,
pub description: String,
}Fields§
§key: String§value: PrefValue§category: String§description: StringTrait Implementations§
Source§impl Clone for Preference
impl Clone for Preference
Source§fn clone(&self) -> Preference
fn clone(&self) -> Preference
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 moreAuto Trait Implementations§
impl Freeze for Preference
impl RefUnwindSafe for Preference
impl Send for Preference
impl Sync for Preference
impl Unpin for Preference
impl UnsafeUnpin for Preference
impl UnwindSafe for Preference
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