#[non_exhaustive]pub struct BinLogCoordinates {
pub bin_log_file_name: String,
pub bin_log_position: i64,
pub kind: String,
/* private fields */
}
Expand description
Binary log coordinates.
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.bin_log_file_name: String
Name of the binary log file for a Cloud SQL instance.
bin_log_position: i64
Position (offset) within the binary log file.
kind: String
This is always sql#binLogCoordinates
.
Implementations§
Source§impl BinLogCoordinates
impl BinLogCoordinates
pub fn new() -> Self
Sourcepub fn set_bin_log_file_name<T: Into<String>>(self, v: T) -> Self
pub fn set_bin_log_file_name<T: Into<String>>(self, v: T) -> Self
Sets the value of bin_log_file_name.
Sourcepub fn set_bin_log_position<T: Into<i64>>(self, v: T) -> Self
pub fn set_bin_log_position<T: Into<i64>>(self, v: T) -> Self
Sets the value of bin_log_position.
Trait Implementations§
Source§impl Clone for BinLogCoordinates
impl Clone for BinLogCoordinates
Source§fn clone(&self) -> BinLogCoordinates
fn clone(&self) -> BinLogCoordinates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BinLogCoordinates
impl Debug for BinLogCoordinates
Source§impl Default for BinLogCoordinates
impl Default for BinLogCoordinates
Source§fn default() -> BinLogCoordinates
fn default() -> BinLogCoordinates
Returns the “default value” for a type. Read more
Source§impl Message for BinLogCoordinates
impl Message for BinLogCoordinates
Source§impl PartialEq for BinLogCoordinates
impl PartialEq for BinLogCoordinates
impl StructuralPartialEq for BinLogCoordinates
Auto Trait Implementations§
impl Freeze for BinLogCoordinates
impl RefUnwindSafe for BinLogCoordinates
impl Send for BinLogCoordinates
impl Sync for BinLogCoordinates
impl Unpin for BinLogCoordinates
impl UnwindSafe for BinLogCoordinates
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