pub struct EnvVariable {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl EnvVariable
impl EnvVariable
Sourcepub async fn id(&self) -> Result<EnvVariableId, DaggerError>
pub async fn id(&self) -> Result<EnvVariableId, DaggerError>
A unique identifier for this EnvVariable.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The environment variable name.
Sourcepub async fn value(&self) -> Result<String, DaggerError>
pub async fn value(&self) -> Result<String, DaggerError>
The environment variable value.
Trait Implementations§
Source§impl Clone for EnvVariable
impl Clone for EnvVariable
Source§fn clone(&self) -> EnvVariable
fn clone(&self) -> EnvVariable
Returns a duplicate 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<EnvVariableId> for EnvVariable
impl IntoID<EnvVariableId> for EnvVariable
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<EnvVariableId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for EnvVariable
impl !RefUnwindSafe for EnvVariable
impl Send for EnvVariable
impl Sync for EnvVariable
impl Unpin for EnvVariable
impl UnsafeUnpin for EnvVariable
impl !UnwindSafe for EnvVariable
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