pub struct CapturePlan {
pub schema_version: u32,
pub selections: Vec<CaptureSelection>,
pub limits: CaptureLimits,
}Expand description
Serializable request; only admission produces execution authority.
Fields§
§schema_version: u32Wire schema version; unsupported versions are rejected.
selections: Vec<CaptureSelection>Empty means none. There is deliberately no implicit capture-all mode.
limits: CaptureLimitsMandatory storage, materialization, and export limits.
Implementations§
Source§impl CapturePlan
impl CapturePlan
Sourcepub fn admit(
self,
catalog: &ObservationCatalog,
support: &ObservationSupportReport,
capabilities: &CaptureCapabilities,
request: CaptureRequestShape,
) -> Result<AdmittedCapturePlan, CaptureError>
pub fn admit( self, catalog: &ObservationCatalog, support: &ObservationSupportReport, capabilities: &CaptureCapabilities, request: CaptureRequestShape, ) -> Result<AdmittedCapturePlan, CaptureError>
Validates selectors, capabilities, geometry, and static constraints, returning an immutable proof.
Trait Implementations§
Source§impl Clone for CapturePlan
impl Clone for CapturePlan
Source§fn clone(&self) -> CapturePlan
fn clone(&self) -> CapturePlan
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 moreSource§impl Debug for CapturePlan
impl Debug for CapturePlan
Source§impl<'de> Deserialize<'de> for CapturePlan
impl<'de> Deserialize<'de> for CapturePlan
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 PartialEq for CapturePlan
impl PartialEq for CapturePlan
Source§impl Serialize for CapturePlan
impl Serialize for CapturePlan
impl StructuralPartialEq for CapturePlan
Auto Trait Implementations§
impl Freeze for CapturePlan
impl RefUnwindSafe for CapturePlan
impl Send for CapturePlan
impl Sync for CapturePlan
impl Unpin for CapturePlan
impl UnsafeUnpin for CapturePlan
impl UnwindSafe for CapturePlan
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