pub struct SlackApiAgentsSessionsSetStatusResponse {
pub status: Option<SlackAgentSessionStatus>,
pub agent_status: Option<SlackAgentSessionStatus>,
pub title: Option<String>,
}Fields§
§status: Option<SlackAgentSessionStatus>§agent_status: Option<SlackAgentSessionStatus>§title: Option<String>Implementations§
Source§impl SlackApiAgentsSessionsSetStatusResponse
impl SlackApiAgentsSessionsSetStatusResponse
pub fn new() -> Self
pub fn status(&mut self, value: SlackAgentSessionStatus) -> &mut Self
pub fn reset_status(&mut self) -> &mut Self
pub fn mopt_status( &mut self, value: Option<SlackAgentSessionStatus>, ) -> &mut Self
pub fn with_status(self, value: SlackAgentSessionStatus) -> Self
pub fn without_status(self) -> Self
pub fn opt_status(self, value: Option<SlackAgentSessionStatus>) -> Self
pub fn agent_status(&mut self, value: SlackAgentSessionStatus) -> &mut Self
pub fn reset_agent_status(&mut self) -> &mut Self
pub fn mopt_agent_status( &mut self, value: Option<SlackAgentSessionStatus>, ) -> &mut Self
pub fn with_agent_status(self, value: SlackAgentSessionStatus) -> Self
pub fn without_agent_status(self) -> Self
pub fn opt_agent_status(self, value: Option<SlackAgentSessionStatus>) -> Self
pub fn title(&mut self, value: String) -> &mut Self
pub fn reset_title(&mut self) -> &mut Self
pub fn mopt_title(&mut self, value: Option<String>) -> &mut Self
pub fn with_title(self, value: String) -> Self
pub fn without_title(self) -> Self
pub fn opt_title(self, value: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiAgentsSessionsSetStatusResponse
impl Clone for SlackApiAgentsSessionsSetStatusResponse
Source§fn clone(&self) -> SlackApiAgentsSessionsSetStatusResponse
fn clone(&self) -> SlackApiAgentsSessionsSetStatusResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SlackApiAgentsSessionsSetStatusResponse
impl<'de> Deserialize<'de> for SlackApiAgentsSessionsSetStatusResponse
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<SlackApiAgentsSessionsSetStatusResponseInit> for SlackApiAgentsSessionsSetStatusResponse
impl From<SlackApiAgentsSessionsSetStatusResponseInit> for SlackApiAgentsSessionsSetStatusResponse
Source§fn from(value: SlackApiAgentsSessionsSetStatusResponseInit) -> Self
fn from(value: SlackApiAgentsSessionsSetStatusResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiAgentsSessionsSetStatusResponse
Auto Trait Implementations§
impl Freeze for SlackApiAgentsSessionsSetStatusResponse
impl RefUnwindSafe for SlackApiAgentsSessionsSetStatusResponse
impl Send for SlackApiAgentsSessionsSetStatusResponse
impl Sync for SlackApiAgentsSessionsSetStatusResponse
impl Unpin for SlackApiAgentsSessionsSetStatusResponse
impl UnsafeUnpin for SlackApiAgentsSessionsSetStatusResponse
impl UnwindSafe for SlackApiAgentsSessionsSetStatusResponse
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