pub struct FrameInfo {
pub node_id: Option<String>,
pub name: Option<String>,
pub background_color: Option<String>,
pub page_id: String,
pub page_name: String,
pub containing_state_group: Option<Option<Box<FrameInfoContainingStateGroup>>>,
pub containing_component_set: Option<Option<Box<FrameInfoContainingComponentSet>>>,
}
Expand description
FrameInfo : Data on the frame a component resides in.
Fields§
§node_id: Option<String>
The ID of the frame node within the file.
name: Option<String>
The name of the frame node.
background_color: Option<String>
The background color of the frame node.
page_id: String
The ID of the page containing the frame node.
page_name: String
The name of the page containing the frame node.
containing_state_group: Option<Option<Box<FrameInfoContainingStateGroup>>>
§containing_component_set: Option<Option<Box<FrameInfoContainingComponentSet>>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FrameInfo
impl<'de> Deserialize<'de> for FrameInfo
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
impl StructuralPartialEq for FrameInfo
Auto Trait Implementations§
impl Freeze for FrameInfo
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfo
impl Sync for FrameInfo
impl Unpin for FrameInfo
impl UnwindSafe for FrameInfo
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