Struct dagger_sdk::ObjectTypeDef
source · pub struct ObjectTypeDef {
pub proc: Option<Arc<Child>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<Child>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl ObjectTypeDef
impl ObjectTypeDef
sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
The doc string for the object, if any
sourcepub fn fields(&self) -> Vec<FieldTypeDef>
pub fn fields(&self) -> Vec<FieldTypeDef>
Static fields defined on this object, if any
sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the object
Trait Implementations§
source§impl Clone for ObjectTypeDef
impl Clone for ObjectTypeDef
source§fn clone(&self) -> ObjectTypeDef
fn clone(&self) -> ObjectTypeDef
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ObjectTypeDef
impl !Send for ObjectTypeDef
impl !Sync for ObjectTypeDef
impl Unpin for ObjectTypeDef
impl !UnwindSafe for ObjectTypeDef
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