#[non_exhaustive]pub struct ViewInfo {
pub id: String,
pub kind: ViewKind,
pub entity: Option<String>,
}Expand description
A view, as the model describes it.
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.id: StringIts id in the model.
kind: ViewKindWhat it shows.
entity: Option<String>The entity it shows; a dashboard has none.
Implementations§
Trait Implementations§
impl Eq for ViewInfo
impl StructuralPartialEq for ViewInfo
Auto Trait Implementations§
impl Freeze for ViewInfo
impl RefUnwindSafe for ViewInfo
impl Send for ViewInfo
impl Sync for ViewInfo
impl Unpin for ViewInfo
impl UnsafeUnpin for ViewInfo
impl UnwindSafe for ViewInfo
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