pub struct AddServiceParamsBuilder { /* private fields */ }
Implementations§
Source§impl AddServiceParamsBuilder
impl AddServiceParamsBuilder
pub fn address(self, address: impl Into<String>) -> AddServiceParamsBuilder
pub fn service_uuid( self, service_uuid: impl Into<String>, ) -> AddServiceParamsBuilder
pub fn build(self) -> Result<AddServiceParams, String>
Trait Implementations§
Source§impl Clone for AddServiceParamsBuilder
impl Clone for AddServiceParamsBuilder
Source§fn clone(&self) -> AddServiceParamsBuilder
fn clone(&self) -> AddServiceParamsBuilder
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 AddServiceParamsBuilder
impl Default for AddServiceParamsBuilder
Source§fn default() -> AddServiceParamsBuilder
fn default() -> AddServiceParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddServiceParamsBuilder
impl RefUnwindSafe for AddServiceParamsBuilder
impl Send for AddServiceParamsBuilder
impl Sync for AddServiceParamsBuilder
impl Unpin for AddServiceParamsBuilder
impl UnwindSafe for AddServiceParamsBuilder
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