pub struct BinlogHeader {
pub file_format_version: i32,
pub min_reader_version: i32,
}Expand description
Parsed binlog file header.
Fields§
§file_format_version: i32The file format version written by the BinaryLogger.
min_reader_version: i32The minimum reader version needed to interpret this file.
Trait Implementations§
Source§impl Clone for BinlogHeader
impl Clone for BinlogHeader
Source§fn clone(&self) -> BinlogHeader
fn clone(&self) -> BinlogHeader
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 BinlogHeader
Source§impl Debug for BinlogHeader
impl Debug for BinlogHeader
impl Eq for BinlogHeader
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.
Source§impl PartialEq for BinlogHeader
impl PartialEq for BinlogHeader
Source§fn eq(&self, other: &BinlogHeader) -> bool
fn eq(&self, other: &BinlogHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinlogHeader
Auto Trait Implementations§
impl Freeze for BinlogHeader
impl RefUnwindSafe for BinlogHeader
impl Send for BinlogHeader
impl Sync for BinlogHeader
impl Unpin for BinlogHeader
impl UnsafeUnpin for BinlogHeader
impl UnwindSafe for BinlogHeader
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.