Struct dagger_sdk::ProjectCommand
source · pub struct ProjectCommand {
pub proc: Option<Arc<Child>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<Child>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl ProjectCommand
impl ProjectCommand
sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
Documentation for what this command does.
sourcepub fn flags(&self) -> Vec<ProjectCommandFlag>
pub fn flags(&self) -> Vec<ProjectCommandFlag>
Flags accepted by this command.
sourcepub async fn id(&self) -> Result<ProjectCommandId, DaggerError>
pub async fn id(&self) -> Result<ProjectCommandId, DaggerError>
A unique identifier for this command.
sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the command.
sourcepub async fn result_type(&self) -> Result<String, DaggerError>
pub async fn result_type(&self) -> Result<String, DaggerError>
The name of the type returned by this command.
sourcepub fn subcommands(&self) -> Vec<ProjectCommand>
pub fn subcommands(&self) -> Vec<ProjectCommand>
Subcommands, if any, that this command provides.
Trait Implementations§
source§impl Clone for ProjectCommand
impl Clone for ProjectCommand
source§fn clone(&self) -> ProjectCommand
fn clone(&self) -> ProjectCommand
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ProjectCommand
impl !Send for ProjectCommand
impl !Sync for ProjectCommand
impl Unpin for ProjectCommand
impl !UnwindSafe for ProjectCommand
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