Struct dagger_sdk::ModuleDependency
source · pub struct ModuleDependency {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl ModuleDependency
impl ModuleDependency
sourcepub async fn id(&self) -> Result<ModuleDependencyId, DaggerError>
pub async fn id(&self) -> Result<ModuleDependencyId, DaggerError>
A unique identifier for this ModuleDependency.
sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the dependency module.
sourcepub fn source(&self) -> ModuleSource
pub fn source(&self) -> ModuleSource
The source for the dependency module.
Trait Implementations§
source§impl Clone for ModuleDependency
impl Clone for ModuleDependency
source§fn clone(&self) -> ModuleDependency
fn clone(&self) -> ModuleDependency
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 moresource§impl IntoID<ModuleDependencyId> for ModuleDependency
impl IntoID<ModuleDependencyId> for ModuleDependency
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<ModuleDependencyId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for ModuleDependency
impl !RefUnwindSafe for ModuleDependency
impl Send for ModuleDependency
impl Sync for ModuleDependency
impl Unpin for ModuleDependency
impl !UnwindSafe for ModuleDependency
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)