pub struct SyncerClient {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl SyncerClient
impl SyncerClient
pub async fn id(&self) -> Result<Id, DaggerError>
pub async fn sync(&self) -> Result<Id, DaggerError>
Trait Implementations§
Source§impl Clone for SyncerClient
impl Clone for SyncerClient
Source§fn clone(&self) -> SyncerClient
fn clone(&self) -> SyncerClient
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 SyncerClient
impl IntoID<Id> for SyncerClient
Source§impl Loadable for SyncerClient
impl Loadable for SyncerClient
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 SyncerClient
impl !RefUnwindSafe for SyncerClient
impl Send for SyncerClient
impl Sync for SyncerClient
impl Unpin for SyncerClient
impl UnsafeUnpin for SyncerClient
impl !UnwindSafe for SyncerClient
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