pub struct PropertyListBuilder { /* private fields */ }Expand description
Builder used to create a list of Property objects
Implementations§
Source§impl PropertyListBuilder
impl PropertyListBuilder
pub fn new() -> Self
pub fn with_properties(self, value: Vec<Property>) -> Self
pub fn build(self) -> Result<PropertyList, BuilderError>
Trait Implementations§
Source§impl Clone for PropertyListBuilder
impl Clone for PropertyListBuilder
Source§fn clone(&self) -> PropertyListBuilder
fn clone(&self) -> PropertyListBuilder
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 moreSource§impl Default for PropertyListBuilder
impl Default for PropertyListBuilder
Source§fn default() -> PropertyListBuilder
fn default() -> PropertyListBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PropertyListBuilder
impl RefUnwindSafe for PropertyListBuilder
impl Send for PropertyListBuilder
impl Sync for PropertyListBuilder
impl Unpin for PropertyListBuilder
impl UnwindSafe for PropertyListBuilder
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