#[non_exhaustive]pub struct NativeVideoError {
pub code: String,
pub message: String,
pub misalignment: Option<Option<NativeVideoMisalignment>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: String§message: String§misalignment: Option<Option<NativeVideoMisalignment>>§rest: RestImplementations§
Source§impl NativeVideoError
impl NativeVideoError
Sourcepub fn builder(code: String, message: String) -> NativeVideoErrorBuilder
pub fn builder(code: String, message: String) -> NativeVideoErrorBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for NativeVideoError
impl Clone for NativeVideoError
Source§impl Debug for NativeVideoError
impl Debug for NativeVideoError
Source§impl DeclaredFields for NativeVideoError
impl DeclaredFields for NativeVideoError
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for NativeVideoError
impl<'de> Deserialize<'de> for NativeVideoError
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
impl Eq for NativeVideoError
Source§impl PartialEq for NativeVideoError
impl PartialEq for NativeVideoError
Source§impl Serialize for NativeVideoError
impl Serialize for NativeVideoError
impl StructuralPartialEq for NativeVideoError
Auto Trait Implementations§
impl Freeze for NativeVideoError
impl RefUnwindSafe for NativeVideoError
impl Send for NativeVideoError
impl Sync for NativeVideoError
impl Unpin for NativeVideoError
impl UnsafeUnpin for NativeVideoError
impl UnwindSafe for NativeVideoError
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