pub struct PublishedComponent {
pub key: String,
pub file_key: String,
pub node_id: String,
pub thumbnail_url: Option<String>,
pub name: String,
pub description: String,
pub created_at: String,
pub updated_at: String,
pub user: Box<User>,
pub containing_frame: Option<Box<FrameInfo>>,
}
Expand description
PublishedComponent : An arrangement of published UI elements that can be instantiated across figma files.
Fields§
§key: String
The unique identifier for the component.
file_key: String
The unique identifier of the Figma file that contains the component.
node_id: String
The unique identifier of the component node within the Figma file.
thumbnail_url: Option<String>
A URL to a thumbnail image of the component.
name: String
The name of the component.
description: String
The description of the component as entered by the publisher.
created_at: String
The UTC ISO 8601 time when the component was created.
updated_at: String
The UTC ISO 8601 time when the component was last updated.
user: Box<User>
The user who last updated the component.
containing_frame: Option<Box<FrameInfo>>
The containing frame of the component.
Implementations§
Trait Implementations§
Source§impl Clone for PublishedComponent
impl Clone for PublishedComponent
Source§fn clone(&self) -> PublishedComponent
fn clone(&self) -> PublishedComponent
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 PublishedComponent
impl Debug for PublishedComponent
Source§impl Default for PublishedComponent
impl Default for PublishedComponent
Source§fn default() -> PublishedComponent
fn default() -> PublishedComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishedComponent
impl<'de> Deserialize<'de> for PublishedComponent
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 PublishedComponent
impl PartialEq for PublishedComponent
Source§impl Serialize for PublishedComponent
impl Serialize for PublishedComponent
impl StructuralPartialEq for PublishedComponent
Auto Trait Implementations§
impl Freeze for PublishedComponent
impl RefUnwindSafe for PublishedComponent
impl Send for PublishedComponent
impl Sync for PublishedComponent
impl Unpin for PublishedComponent
impl UnwindSafe for PublishedComponent
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