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
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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