pub struct InputTypeDef {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl InputTypeDef
impl InputTypeDef
Sourcepub fn fields(&self) -> Vec<FieldTypeDef>
pub fn fields(&self) -> Vec<FieldTypeDef>
Static fields defined on this input object, if any.
Sourcepub async fn id(&self) -> Result<InputTypeDefId, DaggerError>
pub async fn id(&self) -> Result<InputTypeDefId, DaggerError>
A unique identifier for this InputTypeDef.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the input object.
Trait Implementations§
Source§impl Clone for InputTypeDef
impl Clone for InputTypeDef
Source§fn clone(&self) -> InputTypeDef
fn clone(&self) -> InputTypeDef
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<InputTypeDefId> for InputTypeDef
impl IntoID<InputTypeDefId> for InputTypeDef
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<InputTypeDefId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for InputTypeDef
impl !RefUnwindSafe for InputTypeDef
impl Send for InputTypeDef
impl Sync for InputTypeDef
impl Unpin for InputTypeDef
impl UnsafeUnpin for InputTypeDef
impl !UnwindSafe for InputTypeDef
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