pub struct GeneratedAppSpecCandidate {
pub candidate_id: String,
pub trusted: bool,
pub app_spec: Box<LaunchpadApp>,
pub promotion_requirements: Vec<String>,
}Fields§
§candidate_id: String§trusted: bool§app_spec: Box<LaunchpadApp>§promotion_requirements: Vec<String>Implementations§
Source§impl GeneratedAppSpecCandidate
impl GeneratedAppSpecCandidate
pub fn new( candidate_id: String, trusted: bool, app_spec: LaunchpadApp, promotion_requirements: Vec<String>, ) -> GeneratedAppSpecCandidate
Trait Implementations§
Source§impl Clone for GeneratedAppSpecCandidate
impl Clone for GeneratedAppSpecCandidate
Source§fn clone(&self) -> GeneratedAppSpecCandidate
fn clone(&self) -> GeneratedAppSpecCandidate
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 GeneratedAppSpecCandidate
impl Debug for GeneratedAppSpecCandidate
Source§impl Default for GeneratedAppSpecCandidate
impl Default for GeneratedAppSpecCandidate
Source§fn default() -> GeneratedAppSpecCandidate
fn default() -> GeneratedAppSpecCandidate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeneratedAppSpecCandidate
impl<'de> Deserialize<'de> for GeneratedAppSpecCandidate
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 GeneratedAppSpecCandidate
impl PartialEq for GeneratedAppSpecCandidate
Source§fn eq(&self, other: &GeneratedAppSpecCandidate) -> bool
fn eq(&self, other: &GeneratedAppSpecCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeneratedAppSpecCandidate
Auto Trait Implementations§
impl Freeze for GeneratedAppSpecCandidate
impl RefUnwindSafe for GeneratedAppSpecCandidate
impl Send for GeneratedAppSpecCandidate
impl Sync for GeneratedAppSpecCandidate
impl Unpin for GeneratedAppSpecCandidate
impl UnsafeUnpin for GeneratedAppSpecCandidate
impl UnwindSafe for GeneratedAppSpecCandidate
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