Struct dev_scope::shared::prelude::ModelRootBuilder
source · pub struct ModelRootBuilder<V> { /* private fields */ }
Expand description
Builder for ModelRoot
.
Implementations§
source§impl<V: Clone> ModelRootBuilder<V>
impl<V: Clone> ModelRootBuilder<V>
pub fn api_version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn kind<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn metadata<VALUE: Into<ModelMetadata>>( &mut self, value: VALUE ) -> &mut Self
pub fn spec<VALUE: Into<V>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
source§impl<V: Clone> Clone for ModelRootBuilder<V>
impl<V: Clone> Clone for ModelRootBuilder<V>
source§fn clone(&self) -> ModelRootBuilder<V>
fn clone(&self) -> ModelRootBuilder<V>
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<V> RefUnwindSafe for ModelRootBuilder<V>where
V: RefUnwindSafe,
impl<V> Send for ModelRootBuilder<V>where
V: Send,
impl<V> Sync for ModelRootBuilder<V>where
V: Sync,
impl<V> Unpin for ModelRootBuilder<V>where
V: Unpin,
impl<V> UnwindSafe for ModelRootBuilder<V>where
V: UnwindSafe,
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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