pub struct Warning {
pub code: u16,
pub uri: Uri,
pub text: String,
}Expand description
The Record-Warning header in its typed form.
Fields§
§code: u16§uri: Uri§text: StringImplementations§
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Source§impl<'a> TryFrom<WarningTokenizer<'a>> for Warning
impl<'a> TryFrom<WarningTokenizer<'a>> for Warning
Source§impl<'a> TypedHeader<'a> for Warning
impl<'a> TypedHeader<'a> for Warning
type Tokenizer = WarningTokenizer<'a>
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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