pub struct Binding {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl Binding
impl Binding
Sourcepub fn as_cache_volume(&self) -> CacheVolume
pub fn as_cache_volume(&self) -> CacheVolume
Retrieve the binding value, as type CacheVolume
Sourcepub fn as_container(&self) -> Container
pub fn as_container(&self) -> Container
Retrieve the binding value, as type Container
Sourcepub fn as_directory(&self) -> Directory
pub fn as_directory(&self) -> Directory
Retrieve the binding value, as type Directory
Sourcepub fn as_git_ref(&self) -> GitRef
pub fn as_git_ref(&self) -> GitRef
Retrieve the binding value, as type GitRef
Sourcepub fn as_git_repository(&self) -> GitRepository
pub fn as_git_repository(&self) -> GitRepository
Retrieve the binding value, as type GitRepository
Sourcepub fn as_module_config_client(&self) -> ModuleConfigClient
pub fn as_module_config_client(&self) -> ModuleConfigClient
Retrieve the binding value, as type ModuleConfigClient
Sourcepub fn as_module_source(&self) -> ModuleSource
pub fn as_module_source(&self) -> ModuleSource
Retrieve the binding value, as type ModuleSource
Sourcepub fn as_service(&self) -> Service
pub fn as_service(&self) -> Service
Retrieve the binding value, as type Service
Sourcepub async fn digest(&self) -> Result<String, DaggerError>
pub async fn digest(&self) -> Result<String, DaggerError>
The digest of the binding value
Sourcepub async fn id(&self) -> Result<BindingId, DaggerError>
pub async fn id(&self) -> Result<BindingId, DaggerError>
A unique identifier for this Binding.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The binding name
Sourcepub async fn type_name(&self) -> Result<String, DaggerError>
pub async fn type_name(&self) -> Result<String, DaggerError>
The binding type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binding
impl !RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl !UnwindSafe for Binding
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