pub struct StateSchemaBuilder { /* private fields */ }
Expand description
Builder for StateSchema
.
Implementations§
Source§impl StateSchemaBuilder
impl StateSchemaBuilder
pub fn annotations<VALUE: Into<Option<HashMap<String, Option<Value>>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn bundle<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn oci_version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn pid<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn status<VALUE: Into<Status>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for StateSchemaBuilder
impl Clone for StateSchemaBuilder
Source§fn clone(&self) -> StateSchemaBuilder
fn clone(&self) -> StateSchemaBuilder
Returns a duplicate 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 StateSchemaBuilder
impl Default for StateSchemaBuilder
Source§fn default() -> StateSchemaBuilder
fn default() -> StateSchemaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StateSchemaBuilder
impl RefUnwindSafe for StateSchemaBuilder
impl Send for StateSchemaBuilder
impl Sync for StateSchemaBuilder
impl Unpin for StateSchemaBuilder
impl UnwindSafe for StateSchemaBuilder
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