pub struct SlackAppManifestOAuthConfig {
pub redirect_urls: Option<Vec<Url>>,
pub scopes: Option<SlackAppManifestOAuthConfigScopes>,
}
Fields§
§redirect_urls: Option<Vec<Url>>
§scopes: Option<SlackAppManifestOAuthConfigScopes>
Implementations§
source§impl SlackAppManifestOAuthConfig
impl SlackAppManifestOAuthConfig
pub fn new() -> Self
pub fn redirect_urls(&mut self, value: Vec<Url>) -> &mut Self
pub fn reset_redirect_urls(&mut self) -> &mut Self
pub fn mopt_redirect_urls(&mut self, value: Option<Vec<Url>>) -> &mut Self
pub fn with_redirect_urls(self, value: Vec<Url>) -> Self
pub fn without_redirect_urls(self) -> Self
pub fn opt_redirect_urls(self, value: Option<Vec<Url>>) -> Self
pub fn scopes(&mut self, value: SlackAppManifestOAuthConfigScopes) -> &mut Self
pub fn reset_scopes(&mut self) -> &mut Self
pub fn mopt_scopes( &mut self, value: Option<SlackAppManifestOAuthConfigScopes> ) -> &mut Self
pub fn with_scopes(self, value: SlackAppManifestOAuthConfigScopes) -> Self
pub fn without_scopes(self) -> Self
pub fn opt_scopes( self, value: Option<SlackAppManifestOAuthConfigScopes> ) -> Self
Trait Implementations§
source§impl Clone for SlackAppManifestOAuthConfig
impl Clone for SlackAppManifestOAuthConfig
source§fn clone(&self) -> SlackAppManifestOAuthConfig
fn clone(&self) -> SlackAppManifestOAuthConfig
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 Debug for SlackAppManifestOAuthConfig
impl Debug for SlackAppManifestOAuthConfig
source§impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfig
impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfig
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<SlackAppManifestOAuthConfigInit> for SlackAppManifestOAuthConfig
impl From<SlackAppManifestOAuthConfigInit> for SlackAppManifestOAuthConfig
source§fn from(value: SlackAppManifestOAuthConfigInit) -> Self
fn from(value: SlackAppManifestOAuthConfigInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackAppManifestOAuthConfig
impl PartialEq for SlackAppManifestOAuthConfig
source§fn eq(&self, other: &SlackAppManifestOAuthConfig) -> bool
fn eq(&self, other: &SlackAppManifestOAuthConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestOAuthConfig
Auto Trait Implementations§
impl RefUnwindSafe for SlackAppManifestOAuthConfig
impl Send for SlackAppManifestOAuthConfig
impl Sync for SlackAppManifestOAuthConfig
impl Unpin for SlackAppManifestOAuthConfig
impl UnwindSafe for SlackAppManifestOAuthConfig
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