pub struct TrustTokenParams {
pub operation: TrustTokenOperationType,
pub refresh_policy: TrustTokenParamsRefreshPolicy,
pub issuers: Option<Vec<String>>,
}Expand description
Determines what type of Trust Token operation is executed and depending on the type, some additional parameters. The values are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
Experimental: may change without notice.
Fields§
§operation: TrustTokenOperationType§refresh_policy: TrustTokenParamsRefreshPolicyOnly set for “token-redemption” operation and determine whether to request a fresh SRR or use a still valid cached SRR.
issuers: Option<Vec<String>>Origins of issuers from whom to request tokens or redemption records.
Trait Implementations§
Source§impl Clone for TrustTokenParams
impl Clone for TrustTokenParams
Source§impl Debug for TrustTokenParams
impl Debug for TrustTokenParams
Source§impl<'de> Deserialize<'de> for TrustTokenParams
impl<'de> Deserialize<'de> for TrustTokenParams
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 TrustTokenParams
impl PartialEq for TrustTokenParams
Source§impl Serialize for TrustTokenParams
impl Serialize for TrustTokenParams
impl StructuralPartialEq for TrustTokenParams
Auto Trait Implementations§
impl Forget for TrustTokenParams
impl Freeze for TrustTokenParams
impl RefUnwindSafe for TrustTokenParams
impl Send for TrustTokenParams
impl Sync for TrustTokenParams
impl Unpin for TrustTokenParams
impl UnsafeUnpin for TrustTokenParams
impl UnwindSafe for TrustTokenParams
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