pub struct InspectDataBuilder { /* private fields */ }
Implementations§
Source§impl InspectDataBuilder
impl InspectDataBuilder
pub fn new( moniker: ExtendedMoniker, component_url: impl Into<FlyStr>, timestamp: impl Into<Timestamp>, ) -> Self
pub fn escrowed(self, escrowed: bool) -> Self
pub fn with_hierarchy( self, hierarchy: DiagnosticsHierarchy<<Inspect as DiagnosticsData>::Key>, ) -> Self
pub fn with_errors(self, errors: Vec<InspectError>) -> Self
pub fn with_name(self, name: InspectHandleName) -> Self
pub fn build(self) -> Data<Inspect>
Auto Trait Implementations§
impl Freeze for InspectDataBuilder
impl RefUnwindSafe for InspectDataBuilder
impl Send for InspectDataBuilder
impl Sync for InspectDataBuilder
impl Unpin for InspectDataBuilder
impl UnwindSafe for InspectDataBuilder
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