pub struct MintPreviewSdkTokenRequest {
pub path: String,
pub scopes: Vec<String>,
}Fields§
§path: StringApp being edited; may not be deployed yet.
scopes: Vec<String>Scopes from the policy being edited. Capped by the curated allowlist and by the caller’s own scopes, and minted as the caller, so it grants nothing they could not mint themselves.
Implementations§
Trait Implementations§
Source§impl Clone for MintPreviewSdkTokenRequest
impl Clone for MintPreviewSdkTokenRequest
Source§fn clone(&self) -> MintPreviewSdkTokenRequest
fn clone(&self) -> MintPreviewSdkTokenRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MintPreviewSdkTokenRequest
impl Debug for MintPreviewSdkTokenRequest
Source§impl Default for MintPreviewSdkTokenRequest
impl Default for MintPreviewSdkTokenRequest
Source§fn default() -> MintPreviewSdkTokenRequest
fn default() -> MintPreviewSdkTokenRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MintPreviewSdkTokenRequest
impl<'de> Deserialize<'de> for MintPreviewSdkTokenRequest
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
impl StructuralPartialEq for MintPreviewSdkTokenRequest
Auto Trait Implementations§
impl Freeze for MintPreviewSdkTokenRequest
impl RefUnwindSafe for MintPreviewSdkTokenRequest
impl Send for MintPreviewSdkTokenRequest
impl Sync for MintPreviewSdkTokenRequest
impl Unpin for MintPreviewSdkTokenRequest
impl UnsafeUnpin for MintPreviewSdkTokenRequest
impl UnwindSafe for MintPreviewSdkTokenRequest
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