Struct dagger_sdk::QueryModuleSourceOptsBuilder
source · pub struct QueryModuleSourceOptsBuilder { /* private fields */ }Expand description
Builder for QueryModuleSourceOpts.
Implementations§
source§impl QueryModuleSourceOptsBuilder
impl QueryModuleSourceOptsBuilder
sourcepub fn stable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn stable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, enforce that the source is a stable version for source kinds that support versioning.
sourcepub fn build(
&self,
) -> Result<QueryModuleSourceOpts, QueryModuleSourceOptsBuilderError>
pub fn build( &self, ) -> Result<QueryModuleSourceOpts, QueryModuleSourceOptsBuilderError>
Trait Implementations§
source§impl Clone for QueryModuleSourceOptsBuilder
impl Clone for QueryModuleSourceOptsBuilder
source§fn clone(&self) -> QueryModuleSourceOptsBuilder
fn clone(&self) -> QueryModuleSourceOptsBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for QueryModuleSourceOptsBuilder
impl RefUnwindSafe for QueryModuleSourceOptsBuilder
impl Send for QueryModuleSourceOptsBuilder
impl Sync for QueryModuleSourceOptsBuilder
impl Unpin for QueryModuleSourceOptsBuilder
impl UnwindSafe for QueryModuleSourceOptsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)