Struct libmcaptcha::master::messages::AddVisitor
source · pub struct AddVisitor(pub String);
Expand description
Message to add visitor to an MCaptcha actor
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for AddVisitor
impl Clone for AddVisitor
source§fn clone(&self) -> AddVisitor
fn clone(&self) -> AddVisitor
Returns a copy of the value. Read more
1.0.0 · 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 AddVisitor
impl Debug for AddVisitor
source§impl<'de> Deserialize<'de> for AddVisitor
impl<'de> Deserialize<'de> for AddVisitor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Handler<AddVisitor> for Master
impl Handler<AddVisitor> for Master
§type Result = MessageResult<AddVisitor>
type Result = MessageResult<AddVisitor>
The type of value that this handler will return. Read more
source§fn handle(&mut self, m: AddVisitor, ctx: &mut Self::Context) -> Self::Result
fn handle(&mut self, m: AddVisitor, ctx: &mut Self::Context) -> Self::Result
This method is called for every message received by this actor.
source§impl Handler<AddVisitor> for Master
impl Handler<AddVisitor> for Master
§type Result = MessageResult<AddVisitor>
type Result = MessageResult<AddVisitor>
The type of value that this handler will return. Read more
source§fn handle(&mut self, m: AddVisitor, ctx: &mut Self::Context) -> Self::Result
fn handle(&mut self, m: AddVisitor, ctx: &mut Self::Context) -> Self::Result
This method is called for every message received by this actor.
source§impl Message for AddVisitor
impl Message for AddVisitor
§type Result = Receiver<Result<Option<AddVisitorResult>, CaptchaError>>
type Result = Receiver<Result<Option<AddVisitorResult>, CaptchaError>>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl RefUnwindSafe for AddVisitor
impl Send for AddVisitor
impl Sync for AddVisitor
impl Unpin for AddVisitor
impl UnwindSafe for AddVisitor
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