pub struct Acting { /* private fields */ }Expand description
Read on every request, so a removed member or a changed role counts at once.
Implementations§
Source§impl Acting
impl Acting
pub fn member(&self) -> &OrganizationMember
pub fn role(&self) -> OrganizationRole
pub fn into_member(self) -> OrganizationMember
Trait Implementations§
Source§impl<O: OrganizationArea, M> Resolve<RequestContext<O, M>> for Acting
impl<O: OrganizationArea, M> Resolve<RequestContext<O, M>> for Acting
async fn resolve(context: &mut RequestContext<O, M>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for Acting
impl RefUnwindSafe for Acting
impl Send for Acting
impl Sync for Acting
impl Unpin for Acting
impl UnsafeUnpin for Acting
impl UnwindSafe for Acting
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