pub struct LayerResult {
pub layer_name: String,
pub layer_type: LayerType,
pub result: GuardCheckResult,
pub duration: Duration,
pub weight: f32,
}Expand description
Result from a single layer
Fields§
§layer_name: StringLayer name
layer_type: LayerTypeLayer type
result: GuardCheckResultGuard result
duration: DurationExecution time
weight: f32Layer weight
Trait Implementations§
Source§impl Clone for LayerResult
impl Clone for LayerResult
Source§fn clone(&self) -> LayerResult
fn clone(&self) -> LayerResult
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 LayerResult
impl RefUnwindSafe for LayerResult
impl Send for LayerResult
impl Sync for LayerResult
impl Unpin for LayerResult
impl UnwindSafe for LayerResult
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