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_address(&self) -> Address
pub fn as_address(&self) -> Address
Retrieve the binding value, as type Address
Sourcepub fn as_cache_volume(&self) -> CacheVolume
pub fn as_cache_volume(&self) -> CacheVolume
Retrieve the binding value, as type CacheVolume
Sourcepub fn as_changeset(&self) -> Changeset
pub fn as_changeset(&self) -> Changeset
Retrieve the binding value, as type Changeset
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_env_file(&self) -> EnvFile
pub fn as_env_file(&self) -> EnvFile
Retrieve the binding value, as type EnvFile
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>
Returns the binding’s string value
Sourcepub async fn digest(&self) -> Result<String, DaggerError>
pub async fn digest(&self) -> Result<String, DaggerError>
Returns 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>
Returns the binding name
Sourcepub async fn type_name(&self) -> Result<String, DaggerError>
pub async fn type_name(&self) -> Result<String, DaggerError>
Returns the binding type