pub struct JsonlogHeader {
pub file_format_version: i32,
pub min_reader_version: i32,
}Expand description
JSON-friendly mirror of BinlogHeader.
Fields§
§file_format_version: i32§min_reader_version: i32Trait Implementations§
Source§impl Clone for JsonlogHeader
impl Clone for JsonlogHeader
Source§fn clone(&self) -> JsonlogHeader
fn clone(&self) -> JsonlogHeader
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 moreimpl Copy for JsonlogHeader
Source§impl Debug for JsonlogHeader
impl Debug for JsonlogHeader
Source§impl<'de> Deserialize<'de> for JsonlogHeader
impl<'de> Deserialize<'de> for JsonlogHeader
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
Source§impl From<BinlogHeader> for JsonlogHeader
impl From<BinlogHeader> for JsonlogHeader
Source§fn from(h: BinlogHeader) -> Self
fn from(h: BinlogHeader) -> Self
Converts to this type from the input type.
Source§impl From<JsonlogHeader> for BinlogHeader
impl From<JsonlogHeader> for BinlogHeader
Source§fn from(h: JsonlogHeader) -> Self
fn from(h: JsonlogHeader) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonlogHeader
impl RefUnwindSafe for JsonlogHeader
impl Send for JsonlogHeader
impl Sync for JsonlogHeader
impl Unpin for JsonlogHeader
impl UnsafeUnpin for JsonlogHeader
impl UnwindSafe for JsonlogHeader
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