pub struct ViewSpec {
pub id: String,
pub export: String,
pub mode: Mode,
pub projection: Projection,
pub filters: Filters,
pub delivery: Delivery,
pub pipeline: Option<ViewPipeline>,
pub source_view: Option<String>,
}Fields§
§id: String§export: String§mode: Mode§projection: Projection§filters: Filters§delivery: Delivery§pipeline: Option<ViewPipeline>Optional pipeline for derived views
source_view: Option<String>Source view ID if this is a derived view
Implementations§
Source§impl ViewSpec
impl ViewSpec
pub fn is_derived(&self) -> bool
pub fn from_view_def(view_def: &ViewDef, export: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViewSpec
impl RefUnwindSafe for ViewSpec
impl Send for ViewSpec
impl Sync for ViewSpec
impl Unpin for ViewSpec
impl UnwindSafe for ViewSpec
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