pub struct FieldTypeDef {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl FieldTypeDef
impl FieldTypeDef
Sourcepub async fn deprecated(&self) -> Result<String, DaggerError>
pub async fn deprecated(&self) -> Result<String, DaggerError>
The reason this enum member is deprecated, if any.
Sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
A doc string for the field, if any.
Sourcepub async fn id(&self) -> Result<FieldTypeDefId, DaggerError>
pub async fn id(&self) -> Result<FieldTypeDefId, DaggerError>
A unique identifier for this FieldTypeDef.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the field in lowerCamelCase format.
Sourcepub fn source_map(&self) -> SourceMap
pub fn source_map(&self) -> SourceMap
The location of this field declaration.
Trait Implementations§
Source§impl Clone for FieldTypeDef
impl Clone for FieldTypeDef
Source§fn clone(&self) -> FieldTypeDef
fn clone(&self) -> FieldTypeDef
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<FieldTypeDefId> for FieldTypeDef
impl IntoID<FieldTypeDefId> for FieldTypeDef
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<FieldTypeDefId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for FieldTypeDef
impl !RefUnwindSafe for FieldTypeDef
impl Send for FieldTypeDef
impl Sync for FieldTypeDef
impl Unpin for FieldTypeDef
impl UnsafeUnpin for FieldTypeDef
impl !UnwindSafe for FieldTypeDef
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