pub struct SetupRequest {
pub code: String,
pub cert: SignedCert,
}Expand description
POST /setup: the first DM device of a campaign, with the one-time code
printed when the campaign was created.
Fields§
§code: String§cert: SignedCertSelf-signed, role DM.
Trait Implementations§
Source§impl Clone for SetupRequest
impl Clone for SetupRequest
Source§fn clone(&self) -> SetupRequest
fn clone(&self) -> SetupRequest
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 SetupRequest
impl ComposeSchema for SetupRequest
Source§impl Debug for SetupRequest
impl Debug for SetupRequest
Source§impl<'de> Deserialize<'de> for SetupRequest
impl<'de> Deserialize<'de> for SetupRequest
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 SetupRequest
impl Serialize for SetupRequest
Auto Trait Implementations§
impl Freeze for SetupRequest
impl RefUnwindSafe for SetupRequest
impl Send for SetupRequest
impl Sync for SetupRequest
impl Unpin for SetupRequest
impl UnsafeUnpin for SetupRequest
impl UnwindSafe for SetupRequest
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