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