#[non_exhaustive]pub struct AssetPropertyVariantBuilder { /* private fields */ }
Expand description
A builder for AssetPropertyVariant
.
Implementations§
source§impl AssetPropertyVariantBuilder
impl AssetPropertyVariantBuilder
sourcepub fn string_value(self, input: impl Into<String>) -> Self
pub fn string_value(self, input: impl Into<String>) -> Self
The asset property value is a string. You must use an expression, and the evaluated result should be a string.
sourcepub fn set_string_value(self, input: Option<String>) -> Self
pub fn set_string_value(self, input: Option<String>) -> Self
The asset property value is a string. You must use an expression, and the evaluated result should be a string.
sourcepub fn get_string_value(&self) -> &Option<String>
pub fn get_string_value(&self) -> &Option<String>
The asset property value is a string. You must use an expression, and the evaluated result should be a string.
sourcepub fn integer_value(self, input: impl Into<String>) -> Self
pub fn integer_value(self, input: impl Into<String>) -> Self
The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
sourcepub fn set_integer_value(self, input: Option<String>) -> Self
pub fn set_integer_value(self, input: Option<String>) -> Self
The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
sourcepub fn get_integer_value(&self) -> &Option<String>
pub fn get_integer_value(&self) -> &Option<String>
The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
sourcepub fn double_value(self, input: impl Into<String>) -> Self
pub fn double_value(self, input: impl Into<String>) -> Self
The asset property value is a double. You must use an expression, and the evaluated result should be a double.
sourcepub fn set_double_value(self, input: Option<String>) -> Self
pub fn set_double_value(self, input: Option<String>) -> Self
The asset property value is a double. You must use an expression, and the evaluated result should be a double.
sourcepub fn get_double_value(&self) -> &Option<String>
pub fn get_double_value(&self) -> &Option<String>
The asset property value is a double. You must use an expression, and the evaluated result should be a double.
sourcepub fn boolean_value(self, input: impl Into<String>) -> Self
pub fn boolean_value(self, input: impl Into<String>) -> Self
The asset property value is a Boolean value that must be 'TRUE'
or 'FALSE'
. You must use an expression, and the evaluated result should be a Boolean value.
sourcepub fn set_boolean_value(self, input: Option<String>) -> Self
pub fn set_boolean_value(self, input: Option<String>) -> Self
The asset property value is a Boolean value that must be 'TRUE'
or 'FALSE'
. You must use an expression, and the evaluated result should be a Boolean value.
sourcepub fn get_boolean_value(&self) -> &Option<String>
pub fn get_boolean_value(&self) -> &Option<String>
The asset property value is a Boolean value that must be 'TRUE'
or 'FALSE'
. You must use an expression, and the evaluated result should be a Boolean value.
sourcepub fn build(self) -> AssetPropertyVariant
pub fn build(self) -> AssetPropertyVariant
Consumes the builder and constructs a AssetPropertyVariant
.
Trait Implementations§
source§impl Clone for AssetPropertyVariantBuilder
impl Clone for AssetPropertyVariantBuilder
source§fn clone(&self) -> AssetPropertyVariantBuilder
fn clone(&self) -> AssetPropertyVariantBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetPropertyVariantBuilder
impl Debug for AssetPropertyVariantBuilder
source§impl Default for AssetPropertyVariantBuilder
impl Default for AssetPropertyVariantBuilder
source§fn default() -> AssetPropertyVariantBuilder
fn default() -> AssetPropertyVariantBuilder
source§impl PartialEq for AssetPropertyVariantBuilder
impl PartialEq for AssetPropertyVariantBuilder
source§fn eq(&self, other: &AssetPropertyVariantBuilder) -> bool
fn eq(&self, other: &AssetPropertyVariantBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetPropertyVariantBuilder
Auto Trait Implementations§
impl Freeze for AssetPropertyVariantBuilder
impl RefUnwindSafe for AssetPropertyVariantBuilder
impl Send for AssetPropertyVariantBuilder
impl Sync for AssetPropertyVariantBuilder
impl Unpin for AssetPropertyVariantBuilder
impl UnwindSafe for AssetPropertyVariantBuilder
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
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>
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>
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 more