pub struct InterfaceTypeDef {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl InterfaceTypeDef
impl InterfaceTypeDef
Sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
The doc string for the interface, if any.
Sourcepub async fn id(&self) -> Result<InterfaceTypeDefId, DaggerError>
pub async fn id(&self) -> Result<InterfaceTypeDefId, DaggerError>
A unique identifier for this InterfaceTypeDef.
Sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the interface.
Sourcepub fn source_map(&self) -> SourceMap
pub fn source_map(&self) -> SourceMap
The location of this interface declaration.
Sourcepub async fn source_module_name(&self) -> Result<String, DaggerError>
pub async fn source_module_name(&self) -> Result<String, DaggerError>
If this InterfaceTypeDef is associated with a Module, the name of the module. Unset otherwise.
Trait Implementations§
Source§impl Clone for InterfaceTypeDef
impl Clone for InterfaceTypeDef
Source§fn clone(&self) -> InterfaceTypeDef
fn clone(&self) -> InterfaceTypeDef
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<InterfaceTypeDefId> for InterfaceTypeDef
impl IntoID<InterfaceTypeDefId> for InterfaceTypeDef
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<InterfaceTypeDefId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for InterfaceTypeDef
impl !RefUnwindSafe for InterfaceTypeDef
impl Send for InterfaceTypeDef
impl Sync for InterfaceTypeDef
impl Unpin for InterfaceTypeDef
impl UnsafeUnpin for InterfaceTypeDef
impl !UnwindSafe for InterfaceTypeDef
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