pub struct GetPropertiesReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetPropertiesReturnObject.
Implementations§
Source§impl GetPropertiesReturnObjectBuilder
impl GetPropertiesReturnObjectBuilder
Sourcepub fn result(&mut self, value: Vec<PropertyDescriptor>) -> &mut Self
pub fn result(&mut self, value: Vec<PropertyDescriptor>) -> &mut Self
Object properties.
Sourcepub fn internal_properties(
&mut self,
value: Option<Vec<InternalPropertyDescriptor>>,
) -> &mut Self
pub fn internal_properties( &mut self, value: Option<Vec<InternalPropertyDescriptor>>, ) -> &mut Self
Internal object properties (only of the element itself).
Sourcepub fn private_properties(
&mut self,
value: Option<Vec<PrivatePropertyDescriptor>>,
) -> &mut Self
pub fn private_properties( &mut self, value: Option<Vec<PrivatePropertyDescriptor>>, ) -> &mut Self
Object private properties.
Sourcepub fn exception_details(
&mut self,
value: Option<ExceptionDetails>,
) -> &mut Self
pub fn exception_details( &mut self, value: Option<ExceptionDetails>, ) -> &mut Self
Exception details.
Sourcepub fn build(
&self,
) -> Result<GetPropertiesReturnObject, GetPropertiesReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetPropertiesReturnObject, GetPropertiesReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetPropertiesReturnObjectBuilder
impl Clone for GetPropertiesReturnObjectBuilder
Source§fn clone(&self) -> GetPropertiesReturnObjectBuilder
fn clone(&self) -> GetPropertiesReturnObjectBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GetPropertiesReturnObjectBuilder
impl RefUnwindSafe for GetPropertiesReturnObjectBuilder
impl Send for GetPropertiesReturnObjectBuilder
impl Sync for GetPropertiesReturnObjectBuilder
impl Unpin for GetPropertiesReturnObjectBuilder
impl UnsafeUnpin for GetPropertiesReturnObjectBuilder
impl UnwindSafe for GetPropertiesReturnObjectBuilder
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