pub struct SlackApiAppsManifestCreateRequest {
pub app_id: SlackAppId,
pub manifest: SlackAppManifest,
}Fields§
§app_id: SlackAppId§manifest: SlackAppManifestImplementations§
Source§impl SlackApiAppsManifestCreateRequest
impl SlackApiAppsManifestCreateRequest
Sourcepub fn new(app_id: SlackAppId, manifest: SlackAppManifest) -> Self
pub fn new(app_id: SlackAppId, manifest: SlackAppManifest) -> Self
Creates a new SlackApiAppsManifestCreateRequest 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 manifest(&mut self, value: SlackAppManifest) -> &mut Self
pub fn manifest(&mut self, value: SlackAppManifest) -> &mut Self
Sets manifest to value.
Sourcepub fn with_manifest(self, value: SlackAppManifest) -> Self
pub fn with_manifest(self, value: SlackAppManifest) -> Self
Returns self with manifest set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiAppsManifestCreateRequest
impl<'de> Deserialize<'de> for SlackApiAppsManifestCreateRequest
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<SlackApiAppsManifestCreateRequestInit> for SlackApiAppsManifestCreateRequest
impl From<SlackApiAppsManifestCreateRequestInit> for SlackApiAppsManifestCreateRequest
Source§fn from(value: SlackApiAppsManifestCreateRequestInit) -> Self
fn from(value: SlackApiAppsManifestCreateRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiAppsManifestCreateRequest
Auto Trait Implementations§
impl Freeze for SlackApiAppsManifestCreateRequest
impl RefUnwindSafe for SlackApiAppsManifestCreateRequest
impl Send for SlackApiAppsManifestCreateRequest
impl Sync for SlackApiAppsManifestCreateRequest
impl Unpin for SlackApiAppsManifestCreateRequest
impl UnsafeUnpin for SlackApiAppsManifestCreateRequest
impl UnwindSafe for SlackApiAppsManifestCreateRequest
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