pub struct Addition {
pub by_id: Option<String>,
pub links: Option<Vec<Link>>,
pub params: Option<Vec<Parameter>>,
pub parts: Option<Vec<Part>>,
pub position: Option<Position>,
pub props: Option<Vec<Property>>,
pub title: Option<String>,
}Expand description
Specifies contents to be added into controls, in resolution.
Fields§
§by_id: Option<String>Target location of the addition.
links: Option<Vec<Link>>§params: Option<Vec<Parameter>>§parts: Option<Vec<Part>>§position: Option<Position>Where to add the new content with respect to the targeted element (beside it or inside it).
props: Option<Vec<Property>>§title: Option<String>A name given to the control, which may be used by a tool for display and navigation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Addition
impl<'de> Deserialize<'de> for Addition
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
Auto Trait Implementations§
impl Freeze for Addition
impl RefUnwindSafe for Addition
impl Send for Addition
impl Sync for Addition
impl Unpin for Addition
impl UnwindSafe for Addition
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