pub struct SegmentConfig {
pub max_segment_size: usize,
pub max_segment_count: usize,
}Fields§
§max_segment_size: usize§max_segment_count: usizeTrait Implementations§
Source§impl Clone for SegmentConfig
impl Clone for SegmentConfig
Source§fn clone(&self) -> SegmentConfig
fn clone(&self) -> SegmentConfig
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 SegmentConfig
impl Debug for SegmentConfig
Source§impl Default for SegmentConfig
impl Default for SegmentConfig
Source§fn default() -> SegmentConfig
fn default() -> SegmentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentConfig
impl<'de> Deserialize<'de> for SegmentConfig
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
Auto Trait Implementations§
impl Freeze for SegmentConfig
impl RefUnwindSafe for SegmentConfig
impl Send for SegmentConfig
impl Sync for SegmentConfig
impl Unpin for SegmentConfig
impl UnwindSafe for SegmentConfig
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