#[non_exhaustive]pub struct StatsigIntegrationUpdate {
pub credentials: Option<StatsigCredentialsUpdate>,
pub type_: StatsigIntegrationType,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The definition of the StatsigIntegrationUpdate
object.
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.credentials: Option<StatsigCredentialsUpdate>
The definition of the StatsigCredentialsUpdate
object.
type_: StatsigIntegrationType
The definition of the StatsigIntegrationType
object.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl StatsigIntegrationUpdate
impl StatsigIntegrationUpdate
pub fn new(type_: StatsigIntegrationType) -> StatsigIntegrationUpdate
pub fn credentials(self, value: StatsigCredentialsUpdate) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for StatsigIntegrationUpdate
impl Clone for StatsigIntegrationUpdate
Source§fn clone(&self) -> StatsigIntegrationUpdate
fn clone(&self) -> StatsigIntegrationUpdate
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 Debug for StatsigIntegrationUpdate
impl Debug for StatsigIntegrationUpdate
Source§impl<'de> Deserialize<'de> for StatsigIntegrationUpdate
impl<'de> Deserialize<'de> for StatsigIntegrationUpdate
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 StatsigIntegrationUpdate
impl PartialEq for StatsigIntegrationUpdate
Source§impl Serialize for StatsigIntegrationUpdate
impl Serialize for StatsigIntegrationUpdate
impl StructuralPartialEq for StatsigIntegrationUpdate
Auto Trait Implementations§
impl Freeze for StatsigIntegrationUpdate
impl RefUnwindSafe for StatsigIntegrationUpdate
impl Send for StatsigIntegrationUpdate
impl Sync for StatsigIntegrationUpdate
impl Unpin for StatsigIntegrationUpdate
impl UnwindSafe for StatsigIntegrationUpdate
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