Struct fdg_sim::force::DictionaryEntry
source · [−]pub struct DictionaryEntry {
pub name: &'static str,
pub value: ForceValue,
}Expand description
An entry in a Force’s dictionary.
Fields
name: &'static strvalue: ForceValueImplementations
sourceimpl DictionaryEntry
impl DictionaryEntry
sourcepub fn new(name: &'static str, value: ForceValue) -> Self
pub fn new(name: &'static str, value: ForceValue) -> Self
Create a new DictionaryEntry.
Trait Implementations
sourceimpl Clone for DictionaryEntry
impl Clone for DictionaryEntry
sourcefn clone(&self) -> DictionaryEntry
fn clone(&self) -> DictionaryEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DictionaryEntry
impl Debug for DictionaryEntry
sourceimpl PartialEq<DictionaryEntry> for DictionaryEntry
impl PartialEq<DictionaryEntry> for DictionaryEntry
sourcefn eq(&self, other: &DictionaryEntry) -> bool
fn eq(&self, other: &DictionaryEntry) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DictionaryEntry) -> bool
fn ne(&self, other: &DictionaryEntry) -> bool
This method tests for !=.
impl StructuralPartialEq for DictionaryEntry
Auto Trait Implementations
impl RefUnwindSafe for DictionaryEntry
impl Send for DictionaryEntry
impl Sync for DictionaryEntry
impl Unpin for DictionaryEntry
impl UnwindSafe for DictionaryEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more