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