pub struct SlackAppManifestOAuthConfigScopes {
pub bot: Option<Vec<SlackApiTokenScope>>,
pub user: Option<Vec<SlackApiTokenScope>>,
}Fields
bot: Option<Vec<SlackApiTokenScope>>user: Option<Vec<SlackApiTokenScope>>Implementations
sourceimpl 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
sourceimpl Clone for SlackAppManifestOAuthConfigScopes
impl Clone for SlackAppManifestOAuthConfigScopes
sourcefn clone(&self) -> SlackAppManifestOAuthConfigScopes
fn clone(&self) -> SlackAppManifestOAuthConfigScopes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for SlackAppManifestOAuthConfigScopes
impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfigScopes
sourcefn 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
sourceimpl From<SlackAppManifestOAuthConfigScopesInit> for SlackAppManifestOAuthConfigScopes
impl From<SlackAppManifestOAuthConfigScopesInit> for SlackAppManifestOAuthConfigScopes
sourcefn from(value: SlackAppManifestOAuthConfigScopesInit) -> Self
fn from(value: SlackAppManifestOAuthConfigScopesInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestOAuthConfigScopes> for SlackAppManifestOAuthConfigScopes
impl PartialEq<SlackAppManifestOAuthConfigScopes> for SlackAppManifestOAuthConfigScopes
sourcefn eq(&self, other: &SlackAppManifestOAuthConfigScopes) -> bool
fn eq(&self, other: &SlackAppManifestOAuthConfigScopes) -> bool
impl StructuralPartialEq for SlackAppManifestOAuthConfigScopes
Auto Trait Implementations
impl RefUnwindSafe for SlackAppManifestOAuthConfigScopes
impl Send for SlackAppManifestOAuthConfigScopes
impl Sync for SlackAppManifestOAuthConfigScopes
impl Unpin for SlackAppManifestOAuthConfigScopes
impl UnwindSafe for SlackAppManifestOAuthConfigScopes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more