pub struct Actor { /* private fields */ }Expand description
A parsed actor string, retaining the text exactly as written.
Implementations§
Source§impl Actor
impl Actor
Sourcepub fn parse(s: impl Into<String>) -> Self
pub fn parse(s: impl Into<String>) -> Self
Classifies an actor string. Never fails: an unrecognized form becomes
ActorKind::Other with the raw text preserved.
Trait Implementations§
impl Eq for Actor
impl StructuralPartialEq for Actor
Auto Trait Implementations§
impl Freeze for Actor
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnsafeUnpin for Actor
impl UnwindSafe for Actor
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