pub struct SlackAppManifestOAuthConfig {
pub redirect_urls: Option<Vec<Url>>,
pub scopes: Option<SlackAppManifestOAuthConfigScopes>,
}Fields
redirect_urls: Option<Vec<Url>>scopes: Option<SlackAppManifestOAuthConfigScopes>Implementations
sourceimpl 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
sourceimpl Clone for SlackAppManifestOAuthConfig
impl Clone for SlackAppManifestOAuthConfig
sourcefn clone(&self) -> SlackAppManifestOAuthConfig
fn clone(&self) -> SlackAppManifestOAuthConfig
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 Debug for SlackAppManifestOAuthConfig
impl Debug for SlackAppManifestOAuthConfig
sourceimpl<'de> Deserialize<'de> for SlackAppManifestOAuthConfig
impl<'de> Deserialize<'de> for SlackAppManifestOAuthConfig
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<SlackAppManifestOAuthConfigInit> for SlackAppManifestOAuthConfig
impl From<SlackAppManifestOAuthConfigInit> for SlackAppManifestOAuthConfig
sourcefn from(value: SlackAppManifestOAuthConfigInit) -> Self
fn from(value: SlackAppManifestOAuthConfigInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestOAuthConfig> for SlackAppManifestOAuthConfig
impl PartialEq<SlackAppManifestOAuthConfig> for SlackAppManifestOAuthConfig
sourcefn eq(&self, other: &SlackAppManifestOAuthConfig) -> bool
fn eq(&self, other: &SlackAppManifestOAuthConfig) -> bool
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
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