pub struct PublishedStyle {
pub key: String,
pub file_key: String,
pub node_id: String,
pub style_type: StyleType,
pub thumbnail_url: Option<String>,
pub name: String,
pub description: String,
pub created_at: String,
pub updated_at: String,
pub user: Box<User>,
pub sort_position: String,
}
Expand description
PublishedStyle : A set of published properties that can be applied to nodes.
Fields§
§key: String
The unique identifier for the style
file_key: String
The unique identifier of the Figma file that contains the style.
node_id: String
ID of the style node within the figma file
style_type: StyleType
§thumbnail_url: Option<String>
A URL to a thumbnail image of the style.
name: String
The name of the style.
description: String
The description of the style as entered by the publisher.
created_at: String
The UTC ISO 8601 time when the style was created.
updated_at: String
The UTC ISO 8601 time when the style was last updated.
user: Box<User>
The user who last updated the style.
sort_position: String
A user specified order number by which the style can be sorted.
Implementations§
Trait Implementations§
Source§impl Clone for PublishedStyle
impl Clone for PublishedStyle
Source§fn clone(&self) -> PublishedStyle
fn clone(&self) -> PublishedStyle
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 PublishedStyle
impl Debug for PublishedStyle
Source§impl Default for PublishedStyle
impl Default for PublishedStyle
Source§fn default() -> PublishedStyle
fn default() -> PublishedStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishedStyle
impl<'de> Deserialize<'de> for PublishedStyle
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 PublishedStyle
impl PartialEq for PublishedStyle
Source§impl Serialize for PublishedStyle
impl Serialize for PublishedStyle
impl StructuralPartialEq for PublishedStyle
Auto Trait Implementations§
impl Freeze for PublishedStyle
impl RefUnwindSafe for PublishedStyle
impl Send for PublishedStyle
impl Sync for PublishedStyle
impl Unpin for PublishedStyle
impl UnwindSafe for PublishedStyle
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