#[non_exhaustive]pub struct DictionaryValue {
pub value: String,
pub label: String,
pub n_cells: i64,
}Expand description
A value of a Dictionary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: StringThe canonical lexical form.
label: StringIts label.
n_cells: i64The cells of the owner’s function that have this value for the key (refreshed by
refresh_value_counts).
Trait Implementations§
Source§impl Clone for DictionaryValue
impl Clone for DictionaryValue
Source§impl Debug for DictionaryValue
impl Debug for DictionaryValue
impl Eq for DictionaryValue
Source§impl PartialEq for DictionaryValue
impl PartialEq for DictionaryValue
impl StructuralPartialEq for DictionaryValue
Auto Trait Implementations§
impl Forget for DictionaryValue
impl Freeze for DictionaryValue
impl Move for DictionaryValue
impl RefUnwindSafe for DictionaryValue
impl Send for DictionaryValue
impl Sync for DictionaryValue
impl Unpin for DictionaryValue
impl UnsafeUnpin for DictionaryValue
impl UnwindSafe for DictionaryValue
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