pub struct MintExtraction {
pub token_path: String,
pub public_paths: Vec<String>,
}Expand description
How the custodian extracts the minted material from an exchange response
(DR-0053 Open, OAuth response capture): whip declares the path, the
custodian applies it — a dumb instruction, not protocol semantics. Only
simple dotted paths (access_token, data.token) are supported;
extraction is not a query language.
Fields§
§token_path: StringDotted JSON path to the secret member of the exchange response body.
public_paths: Vec<String>Dotted paths to non-secret members returned to whip alongside the handle (expiry, scope echo, token type).
Trait Implementations§
Source§impl Clone for MintExtraction
impl Clone for MintExtraction
Source§fn clone(&self) -> MintExtraction
fn clone(&self) -> MintExtraction
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 MintExtraction
impl Debug for MintExtraction
Source§impl<'de> Deserialize<'de> for MintExtraction
impl<'de> Deserialize<'de> for MintExtraction
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 Eq for MintExtraction
Source§impl PartialEq for MintExtraction
impl PartialEq for MintExtraction
Source§impl Serialize for MintExtraction
impl Serialize for MintExtraction
impl StructuralPartialEq for MintExtraction
Auto Trait Implementations§
impl Freeze for MintExtraction
impl RefUnwindSafe for MintExtraction
impl Send for MintExtraction
impl Sync for MintExtraction
impl Unpin for MintExtraction
impl UnsafeUnpin for MintExtraction
impl UnwindSafe for MintExtraction
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