pub struct SlackAppManifestOAuthConfigScopes {
pub bot: Option<Vec<SlackApiTokenScope>>,
pub user: Option<Vec<SlackApiTokenScope>>,
}
Fields§
§bot: Option<Vec<SlackApiTokenScope>>
§user: Option<Vec<SlackApiTokenScope>>
Implementations§
Source§impl SlackAppManifestOAuthConfigScopes
impl SlackAppManifestOAuthConfigScopes
pub fn new() -> Self
pub fn bot(&mut self, value: Vec<SlackApiTokenScope>) -> &mut Self
pub fn reset_bot(&mut self) -> &mut Self
pub fn mopt_bot(&mut self, value: Option<Vec<SlackApiTokenScope>>) -> &mut Self
pub fn with_bot(self, value: Vec<SlackApiTokenScope>) -> Self
pub fn without_bot(self) -> Self
pub fn opt_bot(self, value: Option<Vec<SlackApiTokenScope>>) -> Self
pub fn user(&mut self, value: Vec<SlackApiTokenScope>) -> &mut Self
pub fn reset_user(&mut self) -> &mut Self
pub fn mopt_user(&mut self, value: Option<Vec<SlackApiTokenScope>>) -> &mut Self
pub fn with_user(self, value: Vec<SlackApiTokenScope>) -> Self
pub fn without_user(self) -> Self
pub fn opt_user(self, value: Option<Vec<SlackApiTokenScope>>) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifestOAuthConfigScopes
impl Clone for SlackAppManifestOAuthConfigScopes
Source§fn clone(&self) -> SlackAppManifestOAuthConfigScopes
fn clone(&self) -> SlackAppManifestOAuthConfigScopes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfigScopes
impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfigScopes
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<SlackAppManifestOAuthConfigScopesInit> for SlackAppManifestOAuthConfigScopes
impl From<SlackAppManifestOAuthConfigScopesInit> for SlackAppManifestOAuthConfigScopes
Source§fn from(value: SlackAppManifestOAuthConfigScopesInit) -> Self
fn from(value: SlackAppManifestOAuthConfigScopesInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifestOAuthConfigScopes
impl PartialEq for SlackAppManifestOAuthConfigScopes
Source§fn eq(&self, other: &SlackAppManifestOAuthConfigScopes) -> bool
fn eq(&self, other: &SlackAppManifestOAuthConfigScopes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestOAuthConfigScopes
Auto Trait Implementations§
impl Freeze for SlackAppManifestOAuthConfigScopes
impl RefUnwindSafe for SlackAppManifestOAuthConfigScopes
impl Send for SlackAppManifestOAuthConfigScopes
impl Sync for SlackAppManifestOAuthConfigScopes
impl Unpin for SlackAppManifestOAuthConfigScopes
impl UnwindSafe for SlackAppManifestOAuthConfigScopes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)