pub struct VariablePresentationHint {
pub attributes: Option<Vec<String>>,
pub kind: Option<String>,
pub visibility: Option<String>,
}
Expand description
Optional properties of a variable that can be used to determine how to render the variable in the UI.
Fields§
§attributes: Option<Vec<String>>
Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values.
kind: Option<String>
The kind of variable. Before introducing additional values, try to use the listed values.
visibility: Option<String>
Visibility of variable. Before introducing additional values, try to use the listed values.
Trait Implementations§
Source§impl Clone for VariablePresentationHint
impl Clone for VariablePresentationHint
Source§fn clone(&self) -> VariablePresentationHint
fn clone(&self) -> VariablePresentationHint
Returns a copy 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 Debug for VariablePresentationHint
impl Debug for VariablePresentationHint
Source§impl Default for VariablePresentationHint
impl Default for VariablePresentationHint
Source§fn default() -> VariablePresentationHint
fn default() -> VariablePresentationHint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariablePresentationHint
impl<'de> Deserialize<'de> for VariablePresentationHint
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 VariablePresentationHint
impl PartialEq for VariablePresentationHint
Source§impl Serialize for VariablePresentationHint
impl Serialize for VariablePresentationHint
impl StructuralPartialEq for VariablePresentationHint
Auto Trait Implementations§
impl Freeze for VariablePresentationHint
impl RefUnwindSafe for VariablePresentationHint
impl Send for VariablePresentationHint
impl Sync for VariablePresentationHint
impl Unpin for VariablePresentationHint
impl UnwindSafe for VariablePresentationHint
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