Struct slack_morphism::api::SlackApiTestRequest
source · Fields§
§error: Option<String>§foo: Option<String>Implementations§
source§impl SlackApiTestRequest
impl SlackApiTestRequest
pub fn new() -> Self
pub fn error(&mut self, value: String) -> &mut Self
pub fn reset_error(&mut self) -> &mut Self
pub fn mopt_error(&mut self, value: Option<String>) -> &mut Self
pub fn with_error(self, value: String) -> Self
pub fn without_error(self) -> Self
pub fn opt_error(self, value: Option<String>) -> Self
pub fn foo(&mut self, value: String) -> &mut Self
pub fn reset_foo(&mut self) -> &mut Self
pub fn mopt_foo(&mut self, value: Option<String>) -> &mut Self
pub fn with_foo(self, value: String) -> Self
pub fn without_foo(self) -> Self
pub fn opt_foo(self, value: Option<String>) -> Self
Trait Implementations§
source§impl Clone for SlackApiTestRequest
impl Clone for SlackApiTestRequest
source§fn clone(&self) -> SlackApiTestRequest
fn clone(&self) -> SlackApiTestRequest
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 SlackApiTestRequest
impl Debug for SlackApiTestRequest
source§impl<'de> Deserialize<'de> for SlackApiTestRequest
impl<'de> Deserialize<'de> for SlackApiTestRequest
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 From<SlackApiTestRequestInit> for SlackApiTestRequest
impl From<SlackApiTestRequestInit> for SlackApiTestRequest
source§fn from(value: SlackApiTestRequestInit) -> Self
fn from(value: SlackApiTestRequestInit) -> Self
Converts to this type from the input type.