#[non_exhaustive]pub struct UpdateComponents {
pub surface_id: String,
pub components: Vec<Component>,
}Expand description
updateComponents.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.surface_id: StringThe surface to update.
components: Vec<Component>Components to add, or to replace by id.
Trait Implementations§
Source§impl Clone for UpdateComponents
impl Clone for UpdateComponents
Source§impl Debug for UpdateComponents
impl Debug for UpdateComponents
Source§impl<'de> Deserialize<'de> for UpdateComponents
impl<'de> Deserialize<'de> for UpdateComponents
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 UpdateComponents
impl PartialEq for UpdateComponents
Source§impl Serialize for UpdateComponents
impl Serialize for UpdateComponents
impl StructuralPartialEq for UpdateComponents
Auto Trait Implementations§
impl Forget for UpdateComponents
impl Freeze for UpdateComponents
impl Move for UpdateComponents
impl RefUnwindSafe for UpdateComponents
impl Send for UpdateComponents
impl Sync for UpdateComponents
impl Unpin for UpdateComponents
impl UnsafeUnpin for UpdateComponents
impl UnwindSafe for UpdateComponents
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