#[non_exhaustive]pub struct PropertyRequestBuilder { /* private fields */ }Expand description
A builder for PropertyRequest.
Implementations§
source§impl PropertyRequestBuilder
impl PropertyRequestBuilder
sourcepub fn definition(self, input: PropertyDefinitionRequest) -> Self
pub fn definition(self, input: PropertyDefinitionRequest) -> Self
An object that specifies information about a property.
sourcepub fn set_definition(self, input: Option<PropertyDefinitionRequest>) -> Self
pub fn set_definition(self, input: Option<PropertyDefinitionRequest>) -> Self
An object that specifies information about a property.
sourcepub fn get_definition(&self) -> &Option<PropertyDefinitionRequest>
pub fn get_definition(&self) -> &Option<PropertyDefinitionRequest>
An object that specifies information about a property.
sourcepub fn update_type(self, input: PropertyUpdateType) -> Self
pub fn update_type(self, input: PropertyUpdateType) -> Self
The update type of the update property request.
sourcepub fn set_update_type(self, input: Option<PropertyUpdateType>) -> Self
pub fn set_update_type(self, input: Option<PropertyUpdateType>) -> Self
The update type of the update property request.
sourcepub fn get_update_type(&self) -> &Option<PropertyUpdateType>
pub fn get_update_type(&self) -> &Option<PropertyUpdateType>
The update type of the update property request.
sourcepub fn build(self) -> PropertyRequest
pub fn build(self) -> PropertyRequest
Consumes the builder and constructs a PropertyRequest.
Trait Implementations§
source§impl Clone for PropertyRequestBuilder
impl Clone for PropertyRequestBuilder
source§fn clone(&self) -> PropertyRequestBuilder
fn clone(&self) -> PropertyRequestBuilder
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 PropertyRequestBuilder
impl Debug for PropertyRequestBuilder
source§impl Default for PropertyRequestBuilder
impl Default for PropertyRequestBuilder
source§fn default() -> PropertyRequestBuilder
fn default() -> PropertyRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PropertyRequestBuilder
impl PartialEq for PropertyRequestBuilder
impl StructuralPartialEq for PropertyRequestBuilder
Auto Trait Implementations§
impl Freeze for PropertyRequestBuilder
impl RefUnwindSafe for PropertyRequestBuilder
impl Send for PropertyRequestBuilder
impl Sync for PropertyRequestBuilder
impl Unpin for PropertyRequestBuilder
impl UnwindSafe for PropertyRequestBuilder
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.