#[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
source§impl PartialEq for PropertyValueEntryBuilder
impl PartialEq for PropertyValueEntryBuilder
source§fn eq(&self, other: &PropertyValueEntryBuilder) -> bool
fn eq(&self, other: &PropertyValueEntryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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> 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>
Creates a shared type from an unshared type.