pub struct EdgeMintRequest {
pub name: String,
pub ttl_secs: u64,
pub allow: Vec<String>,
}Expand description
Request body for the edge-peer mint endpoint.
Fields§
§name: StringCaller-chosen handle the peer is minted (and later revoked) under.
ttl_secs: u64Seconds until the peer expires and is swept from the mesh.
allow: Vec<String>Overlay CIDRs the edge peer may reach. May be omitted (defaults to empty).
Trait Implementations§
Source§impl Clone for EdgeMintRequest
impl Clone for EdgeMintRequest
Source§fn clone(&self) -> EdgeMintRequest
fn clone(&self) -> EdgeMintRequest
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 EdgeMintRequest
impl ComposeSchema for EdgeMintRequest
Source§impl Debug for EdgeMintRequest
impl Debug for EdgeMintRequest
Source§impl<'de> Deserialize<'de> for EdgeMintRequest
impl<'de> Deserialize<'de> for EdgeMintRequest
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 EdgeMintRequest
impl Serialize for EdgeMintRequest
Auto Trait Implementations§
impl Freeze for EdgeMintRequest
impl RefUnwindSafe for EdgeMintRequest
impl Send for EdgeMintRequest
impl Sync for EdgeMintRequest
impl Unpin for EdgeMintRequest
impl UnsafeUnpin for EdgeMintRequest
impl UnwindSafe for EdgeMintRequest
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