pub struct SlackApiAppsConnectionOpenResponse {
pub url: SlackWebSocketsUrl,
}Fields§
§url: SlackWebSocketsUrlImplementations§
Source§impl SlackApiAppsConnectionOpenResponse
impl SlackApiAppsConnectionOpenResponse
Sourcepub fn new(url: SlackWebSocketsUrl) -> Self
pub fn new(url: SlackWebSocketsUrl) -> Self
Creates a new SlackApiAppsConnectionOpenResponse from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn url(&mut self, value: SlackWebSocketsUrl) -> &mut Self
pub fn url(&mut self, value: SlackWebSocketsUrl) -> &mut Self
Sets url to value.
Sourcepub fn with_url(self, value: SlackWebSocketsUrl) -> Self
pub fn with_url(self, value: SlackWebSocketsUrl) -> Self
Returns self with url set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiAppsConnectionOpenResponse
impl<'de> Deserialize<'de> for SlackApiAppsConnectionOpenResponse
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<SlackApiAppsConnectionOpenResponseInit> for SlackApiAppsConnectionOpenResponse
impl From<SlackApiAppsConnectionOpenResponseInit> for SlackApiAppsConnectionOpenResponse
Source§fn from(value: SlackApiAppsConnectionOpenResponseInit) -> Self
fn from(value: SlackApiAppsConnectionOpenResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiAppsConnectionOpenResponse
Auto Trait Implementations§
impl Freeze for SlackApiAppsConnectionOpenResponse
impl RefUnwindSafe for SlackApiAppsConnectionOpenResponse
impl Send for SlackApiAppsConnectionOpenResponse
impl Sync for SlackApiAppsConnectionOpenResponse
impl Unpin for SlackApiAppsConnectionOpenResponse
impl UnsafeUnpin for SlackApiAppsConnectionOpenResponse
impl UnwindSafe for SlackApiAppsConnectionOpenResponse
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