pub struct Check {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl Check
impl Check
Sourcepub async fn completed(&self) -> Result<bool, DaggerError>
pub async fn completed(&self) -> Result<bool, DaggerError>
Whether the check completed
Sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
The description of the check
Sourcepub async fn id(&self) -> Result<CheckId, DaggerError>
pub async fn id(&self) -> Result<CheckId, DaggerError>
A unique identifier for this Check.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
Return the fully qualified name of the check
Sourcepub fn original_module(&self) -> Module
pub fn original_module(&self) -> Module
The original module in which the check has been defined
Sourcepub async fn passed(&self) -> Result<bool, DaggerError>
pub async fn passed(&self) -> Result<bool, DaggerError>
Whether the check passed
Sourcepub async fn path(&self) -> Result<Vec<String>, DaggerError>
pub async fn path(&self) -> Result<Vec<String>, DaggerError>
The path of the check within its module
Sourcepub async fn result_emoji(&self) -> Result<String, DaggerError>
pub async fn result_emoji(&self) -> Result<String, DaggerError>
An emoji representing the result of the check
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Check
impl !RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl !UnwindSafe for Check
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