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