pub struct SlackEventWrongSignatureError {
pub body_len: usize,
pub ts: String,
pub received_hash: String,
pub generated_hash: String,
}
Fields§
§body_len: usize
§ts: String
§received_hash: String
§generated_hash: String
Implementations§
source§impl SlackEventWrongSignatureError
impl SlackEventWrongSignatureError
pub fn new( body_len: usize, ts: String, received_hash: String, generated_hash: String ) -> Self
pub fn body_len(&mut self, value: usize) -> &mut Self
pub fn with_body_len(self, value: usize) -> Self
pub fn ts(&mut self, value: String) -> &mut Self
pub fn with_ts(self, value: String) -> Self
pub fn received_hash(&mut self, value: String) -> &mut Self
pub fn with_received_hash(self, value: String) -> Self
pub fn generated_hash(&mut self, value: String) -> &mut Self
pub fn with_generated_hash(self, value: String) -> Self
Trait Implementations§
source§impl Clone for SlackEventWrongSignatureError
impl Clone for SlackEventWrongSignatureError
source§fn clone(&self) -> SlackEventWrongSignatureError
fn clone(&self) -> SlackEventWrongSignatureError
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 Error for SlackEventWrongSignatureError
impl Error for SlackEventWrongSignatureError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<SlackEventWrongSignatureErrorInit> for SlackEventWrongSignatureError
impl From<SlackEventWrongSignatureErrorInit> for SlackEventWrongSignatureError
source§fn from(value: SlackEventWrongSignatureErrorInit) -> Self
fn from(value: SlackEventWrongSignatureErrorInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackEventWrongSignatureError
impl PartialEq for SlackEventWrongSignatureError
source§fn eq(&self, other: &SlackEventWrongSignatureError) -> bool
fn eq(&self, other: &SlackEventWrongSignatureError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SlackEventWrongSignatureError
impl StructuralEq for SlackEventWrongSignatureError
impl StructuralPartialEq for SlackEventWrongSignatureError
Auto Trait Implementations§
impl RefUnwindSafe for SlackEventWrongSignatureError
impl Send for SlackEventWrongSignatureError
impl Sync for SlackEventWrongSignatureError
impl Unpin for SlackEventWrongSignatureError
impl UnwindSafe for SlackEventWrongSignatureError
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