#[non_exhaustive]pub enum VariablePresentationHintAttributes {
Static,
Constant,
ReadOnly,
RawString,
HasObjectId,
CanHaveObjectId,
HasSideEffects,
HasDataBreakpoint,
Unknown,
}
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.
Static
Indicates that the object is static.
Constant
Indicates that the object is a constant.
ReadOnly
Indicates that the object is read only.
RawString
Indicates that the object is a raw string.
HasObjectId
Indicates that the object can have an Object ID created for it. This is a vestigial attribute that is used by some clients; ’Object ID’s are not specified in the protocol.
CanHaveObjectId
Indicates that the object has an Object ID associated with it. This is a vestigial attribute that is used by some clients; ’Object ID’s are not specified in the protocol.
HasSideEffects
Indicates that the evaluation had side effects.
HasDataBreakpoint
Indicates that the object has its value tracked by a data breakpoint.
Unknown
Trait Implementations§
Source§impl Clone for VariablePresentationHintAttributes
impl Clone for VariablePresentationHintAttributes
Source§fn clone(&self) -> VariablePresentationHintAttributes
fn clone(&self) -> VariablePresentationHintAttributes
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 moreSource§impl<'de> Deserialize<'de> for VariablePresentationHintAttributes
impl<'de> Deserialize<'de> for VariablePresentationHintAttributes
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 VariablePresentationHintAttributes
impl PartialEq for VariablePresentationHintAttributes
Source§fn eq(&self, other: &VariablePresentationHintAttributes) -> bool
fn eq(&self, other: &VariablePresentationHintAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for VariablePresentationHintAttributes
impl StructuralPartialEq for VariablePresentationHintAttributes
Auto Trait Implementations§
impl Freeze for VariablePresentationHintAttributes
impl RefUnwindSafe for VariablePresentationHintAttributes
impl Send for VariablePresentationHintAttributes
impl Sync for VariablePresentationHintAttributes
impl Unpin for VariablePresentationHintAttributes
impl UnwindSafe for VariablePresentationHintAttributes
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