pub struct PublishedVariable {
pub id: String,
pub subscribed_id: String,
pub name: String,
pub key: String,
pub variable_collection_id: String,
pub resolved_data_type: ResolvedDataType,
pub updated_at: String,
}
Expand description
PublishedVariable : A Variable is a single design token that defines values for each of the modes in its VariableCollection. These values can be applied to various kinds of design properties.
Fields§
§id: String
The unique identifier of this variable.
subscribed_id: String
The ID of the variable that is used by subscribing files. This ID changes every time the variable is modified and published.
name: String
The name of this variable.
key: String
The key of this variable.
variable_collection_id: String
The id of the variable collection that contains this variable.
resolved_data_type: ResolvedDataType
The resolved type of the variable.
updated_at: String
The UTC ISO 8601 time at which the variable was last updated.
Implementations§
Source§impl PublishedVariable
impl PublishedVariable
Sourcepub fn new(
id: String,
subscribed_id: String,
name: String,
key: String,
variable_collection_id: String,
resolved_data_type: ResolvedDataType,
updated_at: String,
) -> PublishedVariable
pub fn new( id: String, subscribed_id: String, name: String, key: String, variable_collection_id: String, resolved_data_type: ResolvedDataType, updated_at: String, ) -> PublishedVariable
A Variable is a single design token that defines values for each of the modes in its VariableCollection. These values can be applied to various kinds of design properties.
Trait Implementations§
Source§impl Clone for PublishedVariable
impl Clone for PublishedVariable
Source§fn clone(&self) -> PublishedVariable
fn clone(&self) -> PublishedVariable
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 PublishedVariable
impl Debug for PublishedVariable
Source§impl Default for PublishedVariable
impl Default for PublishedVariable
Source§fn default() -> PublishedVariable
fn default() -> PublishedVariable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishedVariable
impl<'de> Deserialize<'de> for PublishedVariable
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 PublishedVariable
impl PartialEq for PublishedVariable
Source§impl Serialize for PublishedVariable
impl Serialize for PublishedVariable
impl StructuralPartialEq for PublishedVariable
Auto Trait Implementations§
impl Freeze for PublishedVariable
impl RefUnwindSafe for PublishedVariable
impl Send for PublishedVariable
impl Sync for PublishedVariable
impl Unpin for PublishedVariable
impl UnwindSafe for PublishedVariable
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