pub struct ExecutionContextDescriptionBuilder { /* private fields */ }
Implementations§
source§impl ExecutionContextDescriptionBuilder
impl ExecutionContextDescriptionBuilder
pub fn id( self, id: impl Into<ExecutionContextId>, ) -> ExecutionContextDescriptionBuilder
pub fn origin( self, origin: impl Into<String>, ) -> ExecutionContextDescriptionBuilder
pub fn name(self, name: impl Into<String>) -> ExecutionContextDescriptionBuilder
pub fn unique_id( self, unique_id: impl Into<String>, ) -> ExecutionContextDescriptionBuilder
pub fn aux_data( self, aux_data: impl Into<Value>, ) -> ExecutionContextDescriptionBuilder
pub fn build(self) -> Result<ExecutionContextDescription, String>
Trait Implementations§
source§impl Clone for ExecutionContextDescriptionBuilder
impl Clone for ExecutionContextDescriptionBuilder
source§fn clone(&self) -> ExecutionContextDescriptionBuilder
fn clone(&self) -> ExecutionContextDescriptionBuilder
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 moresource§impl Default for ExecutionContextDescriptionBuilder
impl Default for ExecutionContextDescriptionBuilder
source§fn default() -> ExecutionContextDescriptionBuilder
fn default() -> ExecutionContextDescriptionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutionContextDescriptionBuilder
impl RefUnwindSafe for ExecutionContextDescriptionBuilder
impl Send for ExecutionContextDescriptionBuilder
impl Sync for ExecutionContextDescriptionBuilder
impl Unpin for ExecutionContextDescriptionBuilder
impl UnwindSafe for ExecutionContextDescriptionBuilder
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
)