pub struct RegisteredPathResultBuilder {
pub requested_path: String,
pub oper_status: RegisterOperationStatus,
}Fields§
§requested_path: String§oper_status: RegisterOperationStatusImplementations§
Source§impl RegisteredPathResultBuilder
impl RegisteredPathResultBuilder
pub const fn new(requested_path: String) -> Self
pub fn set_failure(self, err_code: u32, err_msg: Option<String>) -> Self
pub fn set_success(self, registered_path: String) -> Self
pub fn build(self) -> Result<RegisteredPathResult>
Trait Implementations§
Source§impl Clone for RegisteredPathResultBuilder
impl Clone for RegisteredPathResultBuilder
Source§fn clone(&self) -> RegisteredPathResultBuilder
fn clone(&self) -> RegisteredPathResultBuilder
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 RegisteredPathResultBuilder
impl RefUnwindSafe for RegisteredPathResultBuilder
impl Send for RegisteredPathResultBuilder
impl Sync for RegisteredPathResultBuilder
impl Unpin for RegisteredPathResultBuilder
impl UnwindSafe for RegisteredPathResultBuilder
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