pub struct IntegrationApplicationBuilder { /* private fields */ }Expand description
Builder for IntegrationApplication.
Implementations§
Source§impl IntegrationApplicationBuilder
impl IntegrationApplicationBuilder
pub fn id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn icon<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn cover_image<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn splash<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<ApplicationType>>(&mut self, value: VALUE) -> &mut Self
pub fn flags<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn primary_sku_id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn verify_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn guild_id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn eula_id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn slug<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn aliases<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn executables<VALUE: Into<Vec<ApplicationExecutable>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn third_party_skus<VALUE: Into<Vec<ApplicationSku>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hook<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn overlay<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn overlay_methods<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn overlay_warn<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn overlay_compatibility_hook<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bot<VALUE: Into<User>>(&mut self, value: VALUE) -> &mut Self
pub fn owner<VALUE: Into<User>>(&mut self, value: VALUE) -> &mut Self
pub fn team<VALUE: Into<Team>>(&mut self, value: VALUE) -> &mut Self
pub fn developers<VALUE: Into<Vec<Company>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn publishers<VALUE: Into<Vec<Company>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn rpc_origins<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn redirect_uris<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn deeplink_uri<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn integration_public<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn integration_require_code_grant<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bot_public<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn bot_require_code_grant<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bot_disabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn bot_quarantined<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn approximate_guild_count<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn approximate_user_install_count<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn internal_guild_restriction<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn terms_of_service_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn privacy_policy_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn role_connections_verification_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn interactions_endpoint_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn interactions_version<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn interactions_event_types<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn event_webhooks_status<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn event_webhooks_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn event_webhooks_types<VALUE: Into<Vec<EventWebhookType>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn explicit_content_filter<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn install_params<VALUE: Into<ApplicationInstallParams>>( &mut self, value: VALUE, ) -> &mut Self
pub fn custom_install_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn integration_types_config<VALUE: Into<Vec<ApplicationIntegrationTypeConfig>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn is_verified<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn verification_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn store_application_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn rpc_application_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn creator_monetization_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn is_discoverable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn discoverability_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn discovery_eligibility_flags<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn is_monetized<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn storefront_available<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn monetization_state<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn monetization_eligibility_flags<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn max_participants<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn embedded_activity_config<VALUE: Into<EmbeddedActivityConfig>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<IntegrationApplication, IntegrationApplicationBuilderError>
pub fn build( &self, ) -> Result<IntegrationApplication, IntegrationApplicationBuilderError>
Trait Implementations§
Source§impl Clone for IntegrationApplicationBuilder
impl Clone for IntegrationApplicationBuilder
Source§fn clone(&self) -> IntegrationApplicationBuilder
fn clone(&self) -> IntegrationApplicationBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IntegrationApplicationBuilder
impl RefUnwindSafe for IntegrationApplicationBuilder
impl Send for IntegrationApplicationBuilder
impl Sync for IntegrationApplicationBuilder
impl Unpin for IntegrationApplicationBuilder
impl UnsafeUnpin for IntegrationApplicationBuilder
impl UnwindSafe for IntegrationApplicationBuilder
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