pub struct ComponentsView {
pub context: Map<String, Value>,
pub find: Option<ComponentsViewDefinitionsFind>,
pub name: String,
pub props: Option<DefsProps>,
pub type_: Value,
}Expand description
Element of type view
Fields§
§context: Map<String, Value>The context projection. This field represents the projection of the context, allowing selective retrieval of specific elements. It is a map that specifies the desired elements to be included in the projection.
find: Option<ComponentsViewDefinitionsFind>§name: StringThe name of the view
props: Option<DefsProps>§type_: ValueThe identifier of the component
Implementations§
Source§impl ComponentsView
impl ComponentsView
pub fn builder() -> ComponentsView
Trait Implementations§
Source§impl Clone for ComponentsView
impl Clone for ComponentsView
Source§impl Debug for ComponentsView
impl Debug for ComponentsView
Source§impl<'de> Deserialize<'de> for ComponentsView
impl<'de> Deserialize<'de> for ComponentsView
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 From<&ComponentsView> for ComponentsView
impl From<&ComponentsView> for ComponentsView
Source§fn from(value: &ComponentsView) -> Self
fn from(value: &ComponentsView) -> Self
Converts to this type from the input type.
Source§impl From<ComponentsView> for ComponentsView
impl From<ComponentsView> for ComponentsView
Source§fn from(value: ComponentsView) -> Self
fn from(value: ComponentsView) -> Self
Converts to this type from the input type.
Source§impl Into<ComponentsView> for View
impl Into<ComponentsView> for View
Source§fn into(self) -> ComponentsView
fn into(self) -> ComponentsView
Converts this type into the (usually inferred) input type.
Source§impl Serialize for ComponentsView
impl Serialize for ComponentsView
Source§impl TryFrom<ComponentsView> for ComponentsView
impl TryFrom<ComponentsView> for ComponentsView
Auto Trait Implementations§
impl Freeze for ComponentsView
impl RefUnwindSafe for ComponentsView
impl Send for ComponentsView
impl Sync for ComponentsView
impl Unpin for ComponentsView
impl UnsafeUnpin for ComponentsView
impl UnwindSafe for ComponentsView
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