pub struct Binding {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
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_json_value(&self) -> JsonValue
pub fn as_json_value(&self) -> JsonValue
Retrieve the binding value, as type JSONValue
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_search_result(&self) -> SearchResult
pub fn as_search_result(&self) -> SearchResult
Retrieve the binding value, as type SearchResult
Sourcepub fn as_search_submatch(&self) -> SearchSubmatch
pub fn as_search_submatch(&self) -> SearchSubmatch
Retrieve the binding value, as type SearchSubmatch
Sourcepub fn as_service(&self) -> Service
pub fn as_service(&self) -> Service
Retrieve the binding value, as type Service
Sourcepub async fn as_string(&self) -> Result<String, DaggerError>
pub async fn as_string(&self) -> Result<String, DaggerError>
The binding’s string value
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 is_null(&self) -> Result<bool, DaggerError>
pub async fn is_null(&self) -> Result<bool, DaggerError>
Returns true if the binding is null
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