#[non_exhaustive]pub struct InterpolatedAssetPropertyValueBuilder { /* private fields */ }Expand description
A builder for InterpolatedAssetPropertyValue.
Implementations§
source§impl InterpolatedAssetPropertyValueBuilder
impl InterpolatedAssetPropertyValueBuilder
sourcepub fn timestamp(self, input: TimeInNanos) -> Self
pub fn timestamp(self, input: TimeInNanos) -> Self
Contains a timestamp with optional nanosecond granularity.
This field is required.sourcepub fn set_timestamp(self, input: Option<TimeInNanos>) -> Self
pub fn set_timestamp(self, input: Option<TimeInNanos>) -> Self
Contains a timestamp with optional nanosecond granularity.
sourcepub fn get_timestamp(&self) -> &Option<TimeInNanos>
pub fn get_timestamp(&self) -> &Option<TimeInNanos>
Contains a timestamp with optional nanosecond granularity.
sourcepub fn value(self, input: Variant) -> Self
pub fn value(self, input: Variant) -> Self
Contains an asset property value (of a single type only).
This field is required.sourcepub fn set_value(self, input: Option<Variant>) -> Self
pub fn set_value(self, input: Option<Variant>) -> Self
Contains an asset property value (of a single type only).
sourcepub fn get_value(&self) -> &Option<Variant>
pub fn get_value(&self) -> &Option<Variant>
Contains an asset property value (of a single type only).
sourcepub fn build(self) -> InterpolatedAssetPropertyValue
pub fn build(self) -> InterpolatedAssetPropertyValue
Consumes the builder and constructs a InterpolatedAssetPropertyValue.
Trait Implementations§
source§impl Clone for InterpolatedAssetPropertyValueBuilder
impl Clone for InterpolatedAssetPropertyValueBuilder
source§fn clone(&self) -> InterpolatedAssetPropertyValueBuilder
fn clone(&self) -> InterpolatedAssetPropertyValueBuilder
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 Default for InterpolatedAssetPropertyValueBuilder
impl Default for InterpolatedAssetPropertyValueBuilder
source§fn default() -> InterpolatedAssetPropertyValueBuilder
fn default() -> InterpolatedAssetPropertyValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InterpolatedAssetPropertyValueBuilder
impl PartialEq for InterpolatedAssetPropertyValueBuilder
source§fn eq(&self, other: &InterpolatedAssetPropertyValueBuilder) -> bool
fn eq(&self, other: &InterpolatedAssetPropertyValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InterpolatedAssetPropertyValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InterpolatedAssetPropertyValueBuilder
impl Send for InterpolatedAssetPropertyValueBuilder
impl Sync for InterpolatedAssetPropertyValueBuilder
impl Unpin for InterpolatedAssetPropertyValueBuilder
impl UnwindSafe for InterpolatedAssetPropertyValueBuilder
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.