pub struct Sid<'a> { /* private fields */ }Expand description
SID is a part of the COM_BINLOG_DUMP_GTID command. It’s a GtidSet whose
has only one Uuid.
Implementations§
Source§impl Sid<'_>
impl Sid<'_>
Sourcepub fn intervals(&self) -> &[GnoInterval]
pub fn intervals(&self) -> &[GnoInterval]
Returns the intervals field value.
Sourcepub fn with_interval(self, interval: GnoInterval) -> Self
pub fn with_interval(self, interval: GnoInterval) -> Self
Appends an GnoInterval to this block.
Sourcepub fn with_intervals(self, intervals: Vec<GnoInterval>) -> Self
pub fn with_intervals(self, intervals: Vec<GnoInterval>) -> Self
Sets the intevals value for this block.
Trait Implementations§
Source§impl<'de> MyDeserialize<'de> for Sid<'de>
impl<'de> MyDeserialize<'de> for Sid<'de>
Source§impl MySerialize for Sid<'_>
impl MySerialize for Sid<'_>
impl<'a> Eq for Sid<'a>
impl<'a> StructuralPartialEq for Sid<'a>
Auto Trait Implementations§
impl<'a> Freeze for Sid<'a>
impl<'a> RefUnwindSafe for Sid<'a>
impl<'a> Send for Sid<'a>
impl<'a> Sync for Sid<'a>
impl<'a> Unpin for Sid<'a>
impl<'a> UnwindSafe for Sid<'a>
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