pub struct ViewSpec {
pub id: String,
pub export: String,
pub mode: Mode,
pub wire_format: WireFormat,
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§wire_format: WireFormat§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, wire_format: WireFormat, ) -> Self
pub fn wire_format_from_entity_spec(spec: &SerializableStreamSpec) -> WireFormat
Trait Implementations§
Auto Trait Implementations§
impl Forget for ViewSpec
impl Freeze for ViewSpecwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Vec<String>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ViewSpec
impl RefUnwindSafe for ViewSpec
impl Send for ViewSpec
impl Sync for ViewSpec
impl Unpin for ViewSpec
impl UnsafeUnpin for ViewSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
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