pub struct WalFrameOptions<T> {
pub path: String,
pub change: T,
pub frame_seq: u64,
pub lifecycle: ChangeLifecycle,
pub frame_t_ns: Option<String>,
}Expand description
WalFrameOptions data container.
Fields§
§path: Stringpath field for path.
change: Tchange field for change.
frame_seq: u64frame_seq field for frame seq.
lifecycle: ChangeLifecyclelifecycle field for lifecycle.
frame_t_ns: Option<String>frame_t_ns field for frame t ns.
Implementations§
Source§impl<T> WalFrameOptions<T>
impl<T> WalFrameOptions<T>
Sourcepub fn new(path: impl Into<String>, change: T, frame_seq: u64) -> Self
pub fn new(path: impl Into<String>, change: T, frame_seq: u64) -> Self
Creates or computes new.
Sourcepub fn with_lifecycle(self, lifecycle: ChangeLifecycle) -> Self
pub fn with_lifecycle(self, lifecycle: ChangeLifecycle) -> Self
Updates or reads with_lifecycle.
Sourcepub fn with_frame_t_ns(self, frame_t_ns: impl Into<String>) -> Self
pub fn with_frame_t_ns(self, frame_t_ns: impl Into<String>) -> Self
Updates or reads with_frame_t_ns.
Trait Implementations§
Source§impl<T: Clone> Clone for WalFrameOptions<T>
impl<T: Clone> Clone for WalFrameOptions<T>
Source§fn clone(&self) -> WalFrameOptions<T>
fn clone(&self) -> WalFrameOptions<T>
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<T: Debug> Debug for WalFrameOptions<T>
impl<T: Debug> Debug for WalFrameOptions<T>
Source§impl<T: PartialEq> PartialEq for WalFrameOptions<T>
impl<T: PartialEq> PartialEq for WalFrameOptions<T>
impl<T> StructuralPartialEq for WalFrameOptions<T>
Auto Trait Implementations§
impl<T> Freeze for WalFrameOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for WalFrameOptions<T>where
T: RefUnwindSafe,
impl<T> Send for WalFrameOptions<T>where
T: Send,
impl<T> Sync for WalFrameOptions<T>where
T: Sync,
impl<T> Unpin for WalFrameOptions<T>where
T: Unpin,
impl<T> UnsafeUnpin for WalFrameOptions<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WalFrameOptions<T>where
T: UnwindSafe,
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