pub struct CapabilityVectorInspectionTargetV1 { /* private fields */ }Expand description
One exact compiler-selected vector field and its count-disclosure posture.
Implementations§
Source§impl CapabilityVectorInspectionTargetV1
impl CapabilityVectorInspectionTargetV1
Sourcepub const fn new(
lineage: ContractLineage,
entity_type: EntityTypeId,
field: FieldId,
allow_counts: bool,
) -> Self
pub const fn new( lineage: ContractLineage, entity_type: EntityTypeId, field: FieldId, allow_counts: bool, ) -> Self
Constructs an exact symbolic vector target lowered to stable contract IDs.
Sourcepub const fn lineage(&self) -> &ContractLineage
pub const fn lineage(&self) -> &ContractLineage
Exact contract lineage.
Sourcepub const fn entity_type(&self) -> EntityTypeId
pub const fn entity_type(&self) -> EntityTypeId
Exact stable entity identity.
Sourcepub const fn allow_counts(&self) -> bool
pub const fn allow_counts(&self) -> bool
Whether whole-partition maintained counts may be disclosed.
Trait Implementations§
impl Eq for CapabilityVectorInspectionTargetV1
impl StructuralPartialEq for CapabilityVectorInspectionTargetV1
Auto Trait Implementations§
impl Freeze for CapabilityVectorInspectionTargetV1
impl RefUnwindSafe for CapabilityVectorInspectionTargetV1
impl Send for CapabilityVectorInspectionTargetV1
impl Sync for CapabilityVectorInspectionTargetV1
impl Unpin for CapabilityVectorInspectionTargetV1
impl UnsafeUnpin for CapabilityVectorInspectionTargetV1
impl UnwindSafe for CapabilityVectorInspectionTargetV1
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