Struct dagger_sdk::FunctionCallArgValue
source · pub struct FunctionCallArgValue {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl FunctionCallArgValue
impl FunctionCallArgValue
sourcepub async fn id(&self) -> Result<FunctionCallArgValueId, DaggerError>
pub async fn id(&self) -> Result<FunctionCallArgValueId, DaggerError>
A unique identifier for this FunctionCallArgValue.
sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the argument.
sourcepub async fn value(&self) -> Result<Json, DaggerError>
pub async fn value(&self) -> Result<Json, DaggerError>
The value of the argument represented as a JSON serialized string.
Trait Implementations§
source§impl Clone for FunctionCallArgValue
impl Clone for FunctionCallArgValue
source§fn clone(&self) -> FunctionCallArgValue
fn clone(&self) -> FunctionCallArgValue
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<FunctionCallArgValueId> for FunctionCallArgValue
impl IntoID<FunctionCallArgValueId> for FunctionCallArgValue
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<FunctionCallArgValueId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for FunctionCallArgValue
impl !RefUnwindSafe for FunctionCallArgValue
impl Send for FunctionCallArgValue
impl Sync for FunctionCallArgValue
impl Unpin for FunctionCallArgValue
impl !UnwindSafe for FunctionCallArgValue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)