pub struct LocalVariableCollection {
pub id: String,
pub name: String,
pub key: String,
pub modes: Vec<LocalVariableCollectionModesInner>,
pub default_mode_id: String,
pub remote: bool,
pub hidden_from_publishing: bool,
pub variable_ids: Vec<String>,
}
Expand description
LocalVariableCollection : A grouping of related Variable objects each with the same modes.
Fields§
§id: String
The unique identifier of this variable collection.
name: String
The name of this variable collection.
key: String
The key of this variable collection.
modes: Vec<LocalVariableCollectionModesInner>
The modes of this variable collection.
default_mode_id: String
The id of the default mode.
remote: bool
Whether this variable collection is remote.
Whether this variable collection is hidden when publishing the current file as a library.
variable_ids: Vec<String>
The ids of the variables in the collection. Note that the order of these variables is roughly the same as what is shown in Figma Design, however it does not account for groups. As a result, the order of these variables may not exactly reflect the exact ordering and grouping shown in the authoring UI.
Implementations§
Trait Implementations§
Source§impl Clone for LocalVariableCollection
impl Clone for LocalVariableCollection
Source§fn clone(&self) -> LocalVariableCollection
fn clone(&self) -> LocalVariableCollection
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 Debug for LocalVariableCollection
impl Debug for LocalVariableCollection
Source§impl Default for LocalVariableCollection
impl Default for LocalVariableCollection
Source§fn default() -> LocalVariableCollection
fn default() -> LocalVariableCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocalVariableCollection
impl<'de> Deserialize<'de> for LocalVariableCollection
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 LocalVariableCollection
impl PartialEq for LocalVariableCollection
Source§impl Serialize for LocalVariableCollection
impl Serialize for LocalVariableCollection
impl StructuralPartialEq for LocalVariableCollection
Auto Trait Implementations§
impl Freeze for LocalVariableCollection
impl RefUnwindSafe for LocalVariableCollection
impl Send for LocalVariableCollection
impl Sync for LocalVariableCollection
impl Unpin for LocalVariableCollection
impl UnwindSafe for LocalVariableCollection
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