#[non_exhaustive]pub struct IntegrationTypeConfig {
pub oauth2_install_params: Option<InstallParams>,
}Expand description
The install settings of one installation context.
discord.js counterpart: APIApplicationIntegrationTypeConfiguration (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.oauth2_install_params: Option<InstallParams>The scopes and permissions of the context’s default in-app authorization link.
Trait Implementations§
Source§impl Clone for IntegrationTypeConfig
impl Clone for IntegrationTypeConfig
Source§impl Debug for IntegrationTypeConfig
impl Debug for IntegrationTypeConfig
Source§impl Default for IntegrationTypeConfig
impl Default for IntegrationTypeConfig
Source§impl<'de> Deserialize<'de> for IntegrationTypeConfig
impl<'de> Deserialize<'de> for IntegrationTypeConfig
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
impl Eq for IntegrationTypeConfig
Source§impl PartialEq for IntegrationTypeConfig
impl PartialEq for IntegrationTypeConfig
Source§impl Serialize for IntegrationTypeConfig
impl Serialize for IntegrationTypeConfig
impl StructuralPartialEq for IntegrationTypeConfig
Auto Trait Implementations§
impl Freeze for IntegrationTypeConfig
impl RefUnwindSafe for IntegrationTypeConfig
impl Send for IntegrationTypeConfig
impl Sync for IntegrationTypeConfig
impl Unpin for IntegrationTypeConfig
impl UnsafeUnpin for IntegrationTypeConfig
impl UnwindSafe for IntegrationTypeConfig
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