pub struct EdgeMintResponse {
pub config: EdgeConfig,
pub token: String,
}Expand description
Response body for a successful edge-peer mint.
Fields§
§config: EdgeConfigThe minted peer’s full portable config.
token: StringThe same config in zledge1. token form (EdgeConfig::to_token) —
ready to hand to the edge process as a single CLI flag / env var.
Trait Implementations§
Source§impl Clone for EdgeMintResponse
impl Clone for EdgeMintResponse
Source§fn clone(&self) -> EdgeMintResponse
fn clone(&self) -> EdgeMintResponse
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 ComposeSchema for EdgeMintResponse
impl ComposeSchema for EdgeMintResponse
Source§impl Debug for EdgeMintResponse
impl Debug for EdgeMintResponse
Source§impl<'de> Deserialize<'de> for EdgeMintResponse
impl<'de> Deserialize<'de> for EdgeMintResponse
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 Serialize for EdgeMintResponse
impl Serialize for EdgeMintResponse
Auto Trait Implementations§
impl Freeze for EdgeMintResponse
impl RefUnwindSafe for EdgeMintResponse
impl Send for EdgeMintResponse
impl Sync for EdgeMintResponse
impl Unpin for EdgeMintResponse
impl UnsafeUnpin for EdgeMintResponse
impl UnwindSafe for EdgeMintResponse
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