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