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.
impl StructuralPartialEq for SlackAppManifestOAuthConfig
Auto Trait Implementations§
impl Freeze for SlackAppManifestOAuthConfig
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
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
)