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