pub struct StreamSegmentInfoCommand {
pub request_id: i64,
pub segment_name: String,
pub exists: bool,
pub is_sealed: bool,
pub is_deleted: bool,
pub last_modified: i64,
pub write_offset: i64,
pub start_offset: i64,
}Expand description
- StreamSegmentInfo Command
Fields§
§request_id: i64§segment_name: String§exists: bool§is_sealed: bool§is_deleted: bool§last_modified: i64§write_offset: i64§start_offset: i64Trait Implementations§
Source§impl Clone for StreamSegmentInfoCommand
impl Clone for StreamSegmentInfoCommand
Source§fn clone(&self) -> StreamSegmentInfoCommand
fn clone(&self) -> StreamSegmentInfoCommand
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 Command for StreamSegmentInfoCommand
impl Command for StreamSegmentInfoCommand
Source§impl Debug for StreamSegmentInfoCommand
impl Debug for StreamSegmentInfoCommand
Source§impl<'de> Deserialize<'de> for StreamSegmentInfoCommand
impl<'de> Deserialize<'de> for StreamSegmentInfoCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StreamSegmentInfoCommand
impl PartialEq for StreamSegmentInfoCommand
Source§impl Reply for StreamSegmentInfoCommand
impl Reply for StreamSegmentInfoCommand
fn get_request_id(&self) -> i64
fn is_failure(&self) -> bool
Source§impl Serialize for StreamSegmentInfoCommand
impl Serialize for StreamSegmentInfoCommand
impl StructuralPartialEq for StreamSegmentInfoCommand
Auto Trait Implementations§
impl Freeze for StreamSegmentInfoCommand
impl RefUnwindSafe for StreamSegmentInfoCommand
impl Send for StreamSegmentInfoCommand
impl Sync for StreamSegmentInfoCommand
impl Unpin for StreamSegmentInfoCommand
impl UnwindSafe for StreamSegmentInfoCommand
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