pub struct CollectionDirectionalSpeedEvidenceV1 { /* private fields */ }Expand description
Strict V2 evidence as consumed by the evaluator.
Implementations§
Source§impl CollectionDirectionalSpeedEvidenceV1
impl CollectionDirectionalSpeedEvidenceV1
Sourcepub fn new(
manifest: CollectionDirectionalSpeedManifestIdentityV1,
runtime_set_id: CollectionLogicalIdV1,
kind: CollectionRuntimeSetKindV1,
lifecycle: CollectionDirectionalSpeedLifecycleV1,
gaps: Vec<CollectionLogicalIdV1>,
members: Vec<CollectionDirectionalSpeedEvidenceMemberV1>,
) -> Result<Self, CollectionDirectionalSpeedEvaluationControlError>
pub fn new( manifest: CollectionDirectionalSpeedManifestIdentityV1, runtime_set_id: CollectionLogicalIdV1, kind: CollectionRuntimeSetKindV1, lifecycle: CollectionDirectionalSpeedLifecycleV1, gaps: Vec<CollectionLogicalIdV1>, members: Vec<CollectionDirectionalSpeedEvidenceMemberV1>, ) -> Result<Self, CollectionDirectionalSpeedEvaluationControlError>
Construct evidence after strict V2 decoding. The constructor rejects contradictory lifecycle/member representations; incomplete evidence is nevertheless a normal evaluator input and result.
Sourcepub fn manifest(&self) -> &CollectionDirectionalSpeedManifestIdentityV1
pub fn manifest(&self) -> &CollectionDirectionalSpeedManifestIdentityV1
Exact manifest identity.
Sourcepub fn runtime_set_id(&self) -> &CollectionLogicalIdV1
pub fn runtime_set_id(&self) -> &CollectionLogicalIdV1
Set id.
Sourcepub const fn kind(&self) -> CollectionRuntimeSetKindV1
pub const fn kind(&self) -> CollectionRuntimeSetKindV1
Set kind.
Sourcepub const fn lifecycle(&self) -> CollectionDirectionalSpeedLifecycleV1
pub const fn lifecycle(&self) -> CollectionDirectionalSpeedLifecycleV1
Root-travel lifecycle.
Sourcepub fn gaps(&self) -> &[CollectionLogicalIdV1]
pub fn gaps(&self) -> &[CollectionLogicalIdV1]
Retained gaps in V2 order.
Sourcepub fn members(&self) -> &[CollectionDirectionalSpeedEvidenceMemberV1]
pub fn members(&self) -> &[CollectionDirectionalSpeedEvidenceMemberV1]
Retained member evidence in V2 manifest order.
Trait Implementations§
Source§impl Clone for CollectionDirectionalSpeedEvidenceV1
impl Clone for CollectionDirectionalSpeedEvidenceV1
Source§fn clone(&self) -> CollectionDirectionalSpeedEvidenceV1
fn clone(&self) -> CollectionDirectionalSpeedEvidenceV1
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 moreimpl StructuralPartialEq for CollectionDirectionalSpeedEvidenceV1
Auto Trait Implementations§
impl Freeze for CollectionDirectionalSpeedEvidenceV1
impl RefUnwindSafe for CollectionDirectionalSpeedEvidenceV1
impl Send for CollectionDirectionalSpeedEvidenceV1
impl Sync for CollectionDirectionalSpeedEvidenceV1
impl Unpin for CollectionDirectionalSpeedEvidenceV1
impl UnsafeUnpin for CollectionDirectionalSpeedEvidenceV1
impl UnwindSafe for CollectionDirectionalSpeedEvidenceV1
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