pub struct ExternalConfigurationDescriptor {
pub create_subscription_url: Option<String>,
pub edit_subscription_property_name: Option<String>,
pub hosted_only: Option<bool>,
}Expand description
Describes how to configure a subscription that is managed externally.
Fields§
§create_subscription_url: Option<String>Url of the site to create this type of subscription.
edit_subscription_property_name: Option<String>The name of an input property that contains the URL to edit a subscription.
hosted_only: Option<bool>True if the external configuration applies only to hosted.
Implementations§
Trait Implementations§
Source§impl Clone for ExternalConfigurationDescriptor
impl Clone for ExternalConfigurationDescriptor
Source§fn clone(&self) -> ExternalConfigurationDescriptor
fn clone(&self) -> ExternalConfigurationDescriptor
Returns a duplicate 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 Default for ExternalConfigurationDescriptor
impl Default for ExternalConfigurationDescriptor
Source§fn default() -> ExternalConfigurationDescriptor
fn default() -> ExternalConfigurationDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalConfigurationDescriptor
impl<'de> Deserialize<'de> for ExternalConfigurationDescriptor
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 PartialEq for ExternalConfigurationDescriptor
impl PartialEq for ExternalConfigurationDescriptor
Source§fn eq(&self, other: &ExternalConfigurationDescriptor) -> bool
fn eq(&self, other: &ExternalConfigurationDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExternalConfigurationDescriptor
Auto Trait Implementations§
impl Freeze for ExternalConfigurationDescriptor
impl RefUnwindSafe for ExternalConfigurationDescriptor
impl Send for ExternalConfigurationDescriptor
impl Sync for ExternalConfigurationDescriptor
impl Unpin for ExternalConfigurationDescriptor
impl UnwindSafe for ExternalConfigurationDescriptor
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