pub struct CanvasRightsModel;Expand description
Represents the governed rights to anchor virtual content at a specific physical location.
Implementations§
Source§impl CanvasRightsModel
impl CanvasRightsModel
Sourcepub fn validate_placement(
location_hash: u64,
principal_hash: u64,
asset_hash: u64,
arena_quins: &[NQuin],
) -> bool
pub fn validate_placement( location_hash: u64, principal_hash: u64, asset_hash: u64, arena_quins: &[NQuin], ) -> bool
Validates whether a specific principal has the right to place a virtual asset
at the given location_hash.
Follows the G2 explicit-denial guard principle: No automated agent can override a human principal’s explicit refusal quin.
Auto Trait Implementations§
impl Freeze for CanvasRightsModel
impl RefUnwindSafe for CanvasRightsModel
impl Send for CanvasRightsModel
impl Sync for CanvasRightsModel
impl Unpin for CanvasRightsModel
impl UnsafeUnpin for CanvasRightsModel
impl UnwindSafe for CanvasRightsModel
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more