pub struct RequirementCheck {
pub satisfied: bool,
pub missing: Vec<Requirement>,
}Expand description
依赖检查结果
Fields§
§satisfied: bool是否满足所有要求
missing: Vec<Requirement>缺失的依赖
Trait Implementations§
Source§impl Clone for RequirementCheck
impl Clone for RequirementCheck
Source§fn clone(&self) -> RequirementCheck
fn clone(&self) -> RequirementCheck
Returns a duplicate of the value. Read more
1.0.0 · 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 RequirementCheck
impl Debug for RequirementCheck
Source§impl Default for RequirementCheck
impl Default for RequirementCheck
Source§fn default() -> RequirementCheck
fn default() -> RequirementCheck
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RequirementCheck
impl RefUnwindSafe for RequirementCheck
impl Send for RequirementCheck
impl Sync for RequirementCheck
impl Unpin for RequirementCheck
impl UnsafeUnpin for RequirementCheck
impl UnwindSafe for RequirementCheck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more