#[non_exhaustive]pub struct PropertyLatestValueBuilder { /* private fields */ }Expand description
A builder for PropertyLatestValue.
Implementations§
source§impl PropertyLatestValueBuilder
impl PropertyLatestValueBuilder
sourcepub fn property_reference(self, input: EntityPropertyReference) -> Self
pub fn property_reference(self, input: EntityPropertyReference) -> Self
An object that specifies information about a property.
This field is required.sourcepub fn set_property_reference(
self,
input: Option<EntityPropertyReference>,
) -> Self
pub fn set_property_reference( self, input: Option<EntityPropertyReference>, ) -> Self
An object that specifies information about a property.
sourcepub fn get_property_reference(&self) -> &Option<EntityPropertyReference>
pub fn get_property_reference(&self) -> &Option<EntityPropertyReference>
An object that specifies information about a property.
sourcepub fn property_value(self, input: DataValue) -> Self
pub fn property_value(self, input: DataValue) -> Self
The value of the property.
sourcepub fn set_property_value(self, input: Option<DataValue>) -> Self
pub fn set_property_value(self, input: Option<DataValue>) -> Self
The value of the property.
sourcepub fn get_property_value(&self) -> &Option<DataValue>
pub fn get_property_value(&self) -> &Option<DataValue>
The value of the property.
sourcepub fn build(self) -> PropertyLatestValue
pub fn build(self) -> PropertyLatestValue
Consumes the builder and constructs a PropertyLatestValue.
Trait Implementations§
source§impl Clone for PropertyLatestValueBuilder
impl Clone for PropertyLatestValueBuilder
source§fn clone(&self) -> PropertyLatestValueBuilder
fn clone(&self) -> PropertyLatestValueBuilder
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 PropertyLatestValueBuilder
impl Debug for PropertyLatestValueBuilder
source§impl Default for PropertyLatestValueBuilder
impl Default for PropertyLatestValueBuilder
source§fn default() -> PropertyLatestValueBuilder
fn default() -> PropertyLatestValueBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PropertyLatestValueBuilder
Auto Trait Implementations§
impl Freeze for PropertyLatestValueBuilder
impl RefUnwindSafe for PropertyLatestValueBuilder
impl Send for PropertyLatestValueBuilder
impl Sync for PropertyLatestValueBuilder
impl Unpin for PropertyLatestValueBuilder
impl UnwindSafe for PropertyLatestValueBuilder
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.