pub struct PeerCaller {
pub team: String,
pub member: String,
pub roles: Vec<String>,
pub context: DelegationContext,
}Expand description
The authenticated sender of an inbound task, for the runtime’s permission checks.
Fields§
§team: StringThe team.
member: StringThe calling member.
roles: Vec<String>Its team roles (from the verified manifest).
context: DelegationContextThe delegation context it sent.
Trait Implementations§
Source§impl Clone for PeerCaller
impl Clone for PeerCaller
Source§impl Debug for PeerCaller
impl Debug for PeerCaller
impl Eq for PeerCaller
Source§impl PartialEq for PeerCaller
impl PartialEq for PeerCaller
impl StructuralPartialEq for PeerCaller
Auto Trait Implementations§
impl Freeze for PeerCaller
impl RefUnwindSafe for PeerCaller
impl Send for PeerCaller
impl Sync for PeerCaller
impl Unpin for PeerCaller
impl UnsafeUnpin for PeerCaller
impl UnwindSafe for PeerCaller
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