pub struct AuthExport {
pub campaign: Campaign,
pub created_at: DateTime<Utc>,
pub devices: Vec<Device>,
pub settings: CampaignSettings,
}Expand description
The auth service’s part of a campaign, as exported and imported by the admin API: the campaign and its devices, with their certificates.
Fields§
§campaign: Campaign§created_at: DateTime<Utc>§devices: Vec<Device>§settings: CampaignSettingsTrait Implementations§
Source§impl Clone for AuthExport
impl Clone for AuthExport
Source§fn clone(&self) -> AuthExport
fn clone(&self) -> AuthExport
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 AuthExport
impl ComposeSchema for AuthExport
Source§impl Debug for AuthExport
impl Debug for AuthExport
Source§impl<'de> Deserialize<'de> for AuthExport
impl<'de> Deserialize<'de> for AuthExport
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 PartialEq for AuthExport
impl PartialEq for AuthExport
Source§fn eq(&self, other: &AuthExport) -> bool
fn eq(&self, other: &AuthExport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthExport
impl Serialize for AuthExport
Source§impl ToSchema for AuthExport
impl ToSchema for AuthExport
impl StructuralPartialEq for AuthExport
Auto Trait Implementations§
impl Freeze for AuthExport
impl RefUnwindSafe for AuthExport
impl Send for AuthExport
impl Sync for AuthExport
impl Unpin for AuthExport
impl UnsafeUnpin for AuthExport
impl UnwindSafe for AuthExport
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