#[non_exhaustive]pub enum ReactiveValueV0 {
Unit,
Bool(bool),
Counter(u64),
Text(String),
StringSet(BTreeSet<String>),
TextMap(BTreeMap<String, String>),
Tuple(Vec<Self>),
Digest([u8; 32]),
}Expand description
Values carried by the static graph.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unit
Bool(bool)
Counter(u64)
Text(String)
StringSet(BTreeSet<String>)
TextMap(BTreeMap<String, String>)
Tuple(Vec<Self>)
Digest([u8; 32])
Trait Implementations§
Source§impl Clone for ReactiveValueV0
impl Clone for ReactiveValueV0
Source§fn clone(&self) -> ReactiveValueV0
fn clone(&self) -> ReactiveValueV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReactiveValueV0
impl Debug for ReactiveValueV0
impl Eq for ReactiveValueV0
Source§impl Ord for ReactiveValueV0
impl Ord for ReactiveValueV0
Source§fn cmp(&self, other: &ReactiveValueV0) -> Ordering
fn cmp(&self, other: &ReactiveValueV0) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReactiveValueV0
impl PartialEq for ReactiveValueV0
Source§impl PartialOrd for ReactiveValueV0
impl PartialOrd for ReactiveValueV0
impl StructuralPartialEq for ReactiveValueV0
Auto Trait Implementations§
impl Freeze for ReactiveValueV0
impl RefUnwindSafe for ReactiveValueV0
impl Send for ReactiveValueV0
impl Sync for ReactiveValueV0
impl Unpin for ReactiveValueV0
impl UnsafeUnpin for ReactiveValueV0
impl UnwindSafe for ReactiveValueV0
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