pub struct EncoderDistortionReport {
pub present: bool,
pub schema_version: Option<String>,
pub profile_id: Option<String>,
pub evidence_kind: Option<String>,
pub source_metric: Option<String>,
pub embedding_metric: Option<String>,
pub profile_manifest_path: Option<String>,
pub profile_canonical_path: Option<String>,
pub profile_sha256: Option<String>,
pub profile_size_bytes: Option<u64>,
}Fields§
§present: bool§schema_version: Option<String>§profile_id: Option<String>§evidence_kind: Option<String>§source_metric: Option<String>§embedding_metric: Option<String>§profile_manifest_path: Option<String>§profile_canonical_path: Option<String>§profile_sha256: Option<String>§profile_size_bytes: Option<u64>Trait Implementations§
Source§impl Clone for EncoderDistortionReport
impl Clone for EncoderDistortionReport
Source§fn clone(&self) -> EncoderDistortionReport
fn clone(&self) -> EncoderDistortionReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncoderDistortionReport
impl Debug for EncoderDistortionReport
Source§impl Default for EncoderDistortionReport
impl Default for EncoderDistortionReport
Source§fn default() -> EncoderDistortionReport
fn default() -> EncoderDistortionReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncoderDistortionReport
impl<'de> Deserialize<'de> for EncoderDistortionReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EncoderDistortionReport
impl RefUnwindSafe for EncoderDistortionReport
impl Send for EncoderDistortionReport
impl Sync for EncoderDistortionReport
impl Unpin for EncoderDistortionReport
impl UnsafeUnpin for EncoderDistortionReport
impl UnwindSafe for EncoderDistortionReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more