#[non_exhaustive]pub struct BinaryLogParser {
pub log_file_access: Option<LogFileAccess>,
/* private fields */
}
Expand description
Configuration to use Binary Log Parser CDC technique.
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.log_file_access: Option<LogFileAccess>
Configuration to specify how the log file should be accessed.
Implementations§
Source§impl BinaryLogParser
impl BinaryLogParser
pub fn new() -> Self
Sourcepub fn set_log_file_access<T: Into<Option<LogFileAccess>>>(self, v: T) -> Self
pub fn set_log_file_access<T: Into<Option<LogFileAccess>>>(self, v: T) -> Self
Sets the value of log_file_access.
Note that all the setters affecting log_file_access
are mutually
exclusive.
Sourcepub fn oracle_asm_log_file_access(&self) -> Option<&Box<OracleAsmLogFileAccess>>
pub fn oracle_asm_log_file_access(&self) -> Option<&Box<OracleAsmLogFileAccess>>
The value of log_file_access
if it holds a OracleAsmLogFileAccess
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_oracle_asm_log_file_access<T: Into<Box<OracleAsmLogFileAccess>>>(
self,
v: T,
) -> Self
pub fn set_oracle_asm_log_file_access<T: Into<Box<OracleAsmLogFileAccess>>>( self, v: T, ) -> Self
Sets the value of log_file_access
to hold a OracleAsmLogFileAccess
.
Note that all the setters affecting log_file_access
are
mutually exclusive.
Sourcepub fn log_file_directories(&self) -> Option<&Box<LogFileDirectories>>
pub fn log_file_directories(&self) -> Option<&Box<LogFileDirectories>>
The value of log_file_access
if it holds a LogFileDirectories
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_log_file_directories<T: Into<Box<LogFileDirectories>>>(
self,
v: T,
) -> Self
pub fn set_log_file_directories<T: Into<Box<LogFileDirectories>>>( self, v: T, ) -> Self
Sets the value of log_file_access
to hold a LogFileDirectories
.
Note that all the setters affecting log_file_access
are
mutually exclusive.
Trait Implementations§
Source§impl Clone for BinaryLogParser
impl Clone for BinaryLogParser
Source§fn clone(&self) -> BinaryLogParser
fn clone(&self) -> BinaryLogParser
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 BinaryLogParser
impl Debug for BinaryLogParser
Source§impl Default for BinaryLogParser
impl Default for BinaryLogParser
Source§fn default() -> BinaryLogParser
fn default() -> BinaryLogParser
Returns the “default value” for a type. Read more
Source§impl Message for BinaryLogParser
impl Message for BinaryLogParser
Source§impl PartialEq for BinaryLogParser
impl PartialEq for BinaryLogParser
impl StructuralPartialEq for BinaryLogParser
Auto Trait Implementations§
impl Freeze for BinaryLogParser
impl RefUnwindSafe for BinaryLogParser
impl Send for BinaryLogParser
impl Sync for BinaryLogParser
impl Unpin for BinaryLogParser
impl UnwindSafe for BinaryLogParser
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