pub struct SdkConfig {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl SdkConfig
impl SdkConfig
Sourcepub async fn id(&self) -> Result<SdkConfigId, DaggerError>
pub async fn id(&self) -> Result<SdkConfigId, 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 IntoID<SdkConfigId> for SdkConfig
impl IntoID<SdkConfigId> for SdkConfig
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<SdkConfigId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for SdkConfig
impl !RefUnwindSafe for SdkConfig
impl Send for SdkConfig
impl Sync for SdkConfig
impl Unpin 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