pub struct GuardQuery {
pub actor: Option<String>,
pub actor_claim: Option<String>,
pub action: String,
pub target: Option<String>,
}Fields§
§actor: Option<String>Cryptographic, key-derived caller URI. Authoritative.
actor_claim: Option<String>Self-claimed peer_hint URI. Advisory; matched alongside actor
against allow_actors / deny_actors.
action: String§target: Option<String>Trait Implementations§
Source§impl Clone for GuardQuery
impl Clone for GuardQuery
Source§fn clone(&self) -> GuardQuery
fn clone(&self) -> GuardQuery
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 GuardQuery
impl Debug for GuardQuery
Source§impl Default for GuardQuery
impl Default for GuardQuery
Source§fn default() -> GuardQuery
fn default() -> GuardQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GuardQuery
impl RefUnwindSafe for GuardQuery
impl Send for GuardQuery
impl Sync for GuardQuery
impl Unpin for GuardQuery
impl UnsafeUnpin for GuardQuery
impl UnwindSafe for GuardQuery
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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