pub struct ClientComponent {
pub id: String,
pub class: Option<String>,
pub props: Option<Value>,
pub aria_hidden: bool,
}Expand description
Declarative mount point for a prebuilt TypeScript/JavaScript client component.
Fields§
§id: String§class: Option<String>§props: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for ClientComponent
impl Clone for ClientComponent
Source§fn clone(&self) -> ClientComponent
fn clone(&self) -> ClientComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientComponent
impl RefUnwindSafe for ClientComponent
impl Send for ClientComponent
impl Sync for ClientComponent
impl Unpin for ClientComponent
impl UnsafeUnpin for ClientComponent
impl UnwindSafe for ClientComponent
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