pub struct UsageIdentity {
pub metering_key: Option<String>,
pub subject: Option<String>,
pub key_class: Option<String>,
pub actor_key: Option<String>,
pub account_key: Option<String>,
pub consumer_key: Option<String>,
pub plan_code: Option<String>,
pub policy_version: Option<u32>,
}Expand description
Billing and policy identity copied from one verified session token. The legacy fields remain present during the compatibility window; V2 fields are emitted only as a complete signed tuple.
Fields§
§metering_key: Option<String>§subject: Option<String>§key_class: Option<String>§actor_key: Option<String>§account_key: Option<String>§consumer_key: Option<String>§plan_code: Option<String>§policy_version: Option<u32>Trait Implementations§
Source§impl Clone for UsageIdentity
impl Clone for UsageIdentity
Source§impl Debug for UsageIdentity
impl Debug for UsageIdentity
Source§impl Default for UsageIdentity
impl Default for UsageIdentity
Source§impl<'de> Deserialize<'de> for UsageIdentity
impl<'de> Deserialize<'de> for UsageIdentity
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
Auto Trait Implementations§
impl Freeze for UsageIdentity
impl RefUnwindSafe for UsageIdentity
impl Send for UsageIdentity
impl Sync for UsageIdentity
impl Unpin for UsageIdentity
impl UnsafeUnpin for UsageIdentity
impl UnwindSafe for UsageIdentity
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