#[non_exhaustive]pub struct PersonalUsageAttribution {
pub thread_source: String,
pub turn_trigger: String,
pub model: String,
pub surface: String,
pub value: Number,
pub rest: Rest,
}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.thread_source: String§turn_trigger: String§model: String§surface: String§value: Number§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for PersonalUsageAttribution
impl Clone for PersonalUsageAttribution
Source§impl Debug for PersonalUsageAttribution
impl Debug for PersonalUsageAttribution
Source§impl DeclaredFields for PersonalUsageAttribution
impl DeclaredFields for PersonalUsageAttribution
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PersonalUsageAttribution
impl<'de> Deserialize<'de> for PersonalUsageAttribution
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 PersonalUsageAttribution
impl PartialEq for PersonalUsageAttribution
Source§impl Serialize for PersonalUsageAttribution
impl Serialize for PersonalUsageAttribution
impl StructuralPartialEq for PersonalUsageAttribution
Auto Trait Implementations§
impl Freeze for PersonalUsageAttribution
impl RefUnwindSafe for PersonalUsageAttribution
impl Send for PersonalUsageAttribution
impl Sync for PersonalUsageAttribution
impl Unpin for PersonalUsageAttribution
impl UnsafeUnpin for PersonalUsageAttribution
impl UnwindSafe for PersonalUsageAttribution
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