#[non_exhaustive]pub struct PropertyValueEntryBuilder { /* private fields */ }Expand description
A builder for PropertyValueEntry.
Implementations§
source§impl PropertyValueEntryBuilder
impl PropertyValueEntryBuilder
sourcepub fn entity_property_reference(self, input: EntityPropertyReference) -> Self
pub fn entity_property_reference(self, input: EntityPropertyReference) -> Self
An object that contains information about the entity that has the property.
This field is required.sourcepub fn set_entity_property_reference(
self,
input: Option<EntityPropertyReference>,
) -> Self
pub fn set_entity_property_reference( self, input: Option<EntityPropertyReference>, ) -> Self
An object that contains information about the entity that has the property.
sourcepub fn get_entity_property_reference(&self) -> &Option<EntityPropertyReference>
pub fn get_entity_property_reference(&self) -> &Option<EntityPropertyReference>
An object that contains information about the entity that has the property.
sourcepub fn property_values(self, input: PropertyValue) -> Self
pub fn property_values(self, input: PropertyValue) -> Self
Appends an item to property_values.
To override the contents of this collection use set_property_values.
A list of objects that specify time series property values.
sourcepub fn set_property_values(self, input: Option<Vec<PropertyValue>>) -> Self
pub fn set_property_values(self, input: Option<Vec<PropertyValue>>) -> Self
A list of objects that specify time series property values.
sourcepub fn get_property_values(&self) -> &Option<Vec<PropertyValue>>
pub fn get_property_values(&self) -> &Option<Vec<PropertyValue>>
A list of objects that specify time series property values.
sourcepub fn build(self) -> PropertyValueEntry
pub fn build(self) -> PropertyValueEntry
Consumes the builder and constructs a PropertyValueEntry.
Trait Implementations§
source§impl Clone for PropertyValueEntryBuilder
impl Clone for PropertyValueEntryBuilder
source§fn clone(&self) -> PropertyValueEntryBuilder
fn clone(&self) -> PropertyValueEntryBuilder
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 Debug for PropertyValueEntryBuilder
impl Debug for PropertyValueEntryBuilder
source§impl Default for PropertyValueEntryBuilder
impl Default for PropertyValueEntryBuilder
source§fn default() -> PropertyValueEntryBuilder
fn default() -> PropertyValueEntryBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PropertyValueEntryBuilder
Auto Trait Implementations§
impl Freeze for PropertyValueEntryBuilder
impl RefUnwindSafe for PropertyValueEntryBuilder
impl Send for PropertyValueEntryBuilder
impl Sync for PropertyValueEntryBuilder
impl Unpin for PropertyValueEntryBuilder
impl UnwindSafe for PropertyValueEntryBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.