pub struct NodeClient {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl NodeClient
impl NodeClient
pub async fn id(&self) -> Result<Id, DaggerError>
Trait Implementations§
Source§impl Clone for NodeClient
impl Clone for NodeClient
Source§fn clone(&self) -> NodeClient
fn clone(&self) -> NodeClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl IntoID<Id> for NodeClient
impl IntoID<Id> for NodeClient
Source§impl Loadable for NodeClient
impl Loadable for NodeClient
Source§fn graphql_type() -> &'static str
fn graphql_type() -> &'static str
The GraphQL type name (e.g.
"Container").Source§fn from_query(
proc: Option<Arc<DaggerSessionProc>>,
selection: Selection,
graphql_client: DynGraphQLClient,
) -> Self
fn from_query( proc: Option<Arc<DaggerSessionProc>>, selection: Selection, graphql_client: DynGraphQLClient, ) -> Self
Construct this type from a query selection.
Auto Trait Implementations§
impl Freeze for NodeClient
impl !RefUnwindSafe for NodeClient
impl Send for NodeClient
impl Sync for NodeClient
impl Unpin for NodeClient
impl UnsafeUnpin for NodeClient
impl !UnwindSafe for NodeClient
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