pub struct DiagnosticsResponseBuilder(/* private fields */);Expand description
Builder for DiagnosticsResponse.
Implementations§
Source§impl DiagnosticsResponseBuilder
impl DiagnosticsResponseBuilder
pub fn cache_miss_reason( self, value: impl Into<Option<CacheMissReason>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> DiagnosticsResponse
pub fn build(self) -> DiagnosticsResponse
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for DiagnosticsResponseBuilder
impl RefUnwindSafe for DiagnosticsResponseBuilder
impl Send for DiagnosticsResponseBuilder
impl Sync for DiagnosticsResponseBuilder
impl Unpin for DiagnosticsResponseBuilder
impl UnsafeUnpin for DiagnosticsResponseBuilder
impl UnwindSafe for DiagnosticsResponseBuilder
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