pub struct SdkConfig {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl SdkConfig
impl SdkConfig
Sourcepub async fn debug(&self) -> Result<bool, DaggerError>
pub async fn debug(&self) -> Result<bool, DaggerError>
Whether to start the SDK runtime in debug mode with an interactive terminal.
Sourcepub async fn id(&self) -> Result<Id, DaggerError>
pub async fn id(&self) -> Result<Id, DaggerError>
A unique identifier for this SDKConfig.
Sourcepub async fn source(&self) -> Result<String, DaggerError>
pub async fn source(&self) -> Result<String, DaggerError>
Source of the SDK. Either a name of a builtin SDK or a module source ref string pointing to the SDK’s implementation.
Trait Implementations§
Source§impl Loadable for SdkConfig
impl Loadable for SdkConfig
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 SdkConfig
impl !RefUnwindSafe for SdkConfig
impl Send for SdkConfig
impl Sync for SdkConfig
impl Unpin for SdkConfig
impl UnsafeUnpin for SdkConfig
impl !UnwindSafe for SdkConfig
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