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