#[non_exhaustive]pub struct PropertyResponseBuilder { /* private fields */ }Expand description
A builder for PropertyResponse.
Implementations§
source§impl PropertyResponseBuilder
impl PropertyResponseBuilder
sourcepub fn definition(self, input: PropertyDefinitionResponse) -> Self
pub fn definition(self, input: PropertyDefinitionResponse) -> Self
An object that specifies information about a property.
sourcepub fn set_definition(self, input: Option<PropertyDefinitionResponse>) -> Self
pub fn set_definition(self, input: Option<PropertyDefinitionResponse>) -> Self
An object that specifies information about a property.
sourcepub fn get_definition(&self) -> &Option<PropertyDefinitionResponse>
pub fn get_definition(&self) -> &Option<PropertyDefinitionResponse>
An object that specifies information about a property.
sourcepub fn build(self) -> PropertyResponse
pub fn build(self) -> PropertyResponse
Consumes the builder and constructs a PropertyResponse.
Trait Implementations§
source§impl Clone for PropertyResponseBuilder
impl Clone for PropertyResponseBuilder
source§fn clone(&self) -> PropertyResponseBuilder
fn clone(&self) -> PropertyResponseBuilder
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 PropertyResponseBuilder
impl Debug for PropertyResponseBuilder
source§impl Default for PropertyResponseBuilder
impl Default for PropertyResponseBuilder
source§fn default() -> PropertyResponseBuilder
fn default() -> PropertyResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PropertyResponseBuilder
impl PartialEq for PropertyResponseBuilder
source§fn eq(&self, other: &PropertyResponseBuilder) -> bool
fn eq(&self, other: &PropertyResponseBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PropertyResponseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PropertyResponseBuilder
impl Send for PropertyResponseBuilder
impl Sync for PropertyResponseBuilder
impl Unpin for PropertyResponseBuilder
impl UnwindSafe for PropertyResponseBuilder
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.