Struct libmcaptcha::master::messages::SetInternalData
source · pub struct SetInternalData {
pub mcaptcha: HashMap<String, MCaptcha>,
}
Expand description
Sets internal Captcha data
Fields§
§mcaptcha: HashMap<String, MCaptcha>
Trait Implementations§
source§impl Handler<SetInternalData> for Master
impl Handler<SetInternalData> for Master
§type Result = MessageResult<SetInternalData>
type Result = MessageResult<SetInternalData>
The type of value that this handler will return. Read more
source§fn handle(
&mut self,
m: SetInternalData,
ctx: &mut Self::Context
) -> Self::Result
fn handle( &mut self, m: SetInternalData, ctx: &mut Self::Context ) -> Self::Result
This method is called for every message received by this actor.
source§impl Handler<SetInternalData> for Master
impl Handler<SetInternalData> for Master
§type Result = MessageResult<SetInternalData>
type Result = MessageResult<SetInternalData>
The type of value that this handler will return. Read more
source§fn handle(
&mut self,
m: SetInternalData,
ctx: &mut Self::Context
) -> Self::Result
fn handle( &mut self, m: SetInternalData, ctx: &mut Self::Context ) -> Self::Result
This method is called for every message received by this actor.
source§impl Message for SetInternalData
impl Message for SetInternalData
§type Result = Receiver<Result<(), CaptchaError>>
type Result = Receiver<Result<(), CaptchaError>>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl RefUnwindSafe for SetInternalData
impl Send for SetInternalData
impl Sync for SetInternalData
impl Unpin for SetInternalData
impl UnwindSafe for SetInternalData
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