Struct mlmd::requests::PutContextRequest
source · [−]pub struct PutContextRequest<'a> { /* private fields */ }
Expand description
Request builder for MetadataStore::put_context
.
Implementations
sourceimpl<'a> PutContextRequest<'a>
impl<'a> PutContextRequest<'a>
sourcepub fn properties(self, properties: PropertyValues) -> Self
pub fn properties(self, properties: PropertyValues) -> Self
Adds properties to the context.
sourcepub fn custom_properties(self, properties: PropertyValues) -> Self
pub fn custom_properties(self, properties: PropertyValues) -> Self
Adds custom properties to the context.
sourcepub fn property<T>(self, key: &str, value: T) -> Self where
T: Into<PropertyValue>,
pub fn property<T>(self, key: &str, value: T) -> Self where
T: Into<PropertyValue>,
Adds a property to the context.
sourcepub fn custom_property<T>(self, key: &str, value: T) -> Self where
T: Into<PropertyValue>,
pub fn custom_property<T>(self, key: &str, value: T) -> Self where
T: Into<PropertyValue>,
Adds a custom property to the context.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PutContextRequest<'a>
impl<'a> Send for PutContextRequest<'a>
impl<'a> !Sync for PutContextRequest<'a>
impl<'a> Unpin for PutContextRequest<'a>
impl<'a> !UnwindSafe for PutContextRequest<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more