pub struct LoopNamingConfig {
pub format: String,
pub max_length: usize,
}Expand description
Configuration for loop naming.
Fields§
§format: StringNaming format: “human-readable” or “timestamp”.
max_length: usizeMaximum length for generated names.
Trait Implementations§
Source§impl Clone for LoopNamingConfig
impl Clone for LoopNamingConfig
Source§fn clone(&self) -> LoopNamingConfig
fn clone(&self) -> LoopNamingConfig
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 LoopNamingConfig
impl Debug for LoopNamingConfig
Source§impl Default for LoopNamingConfig
impl Default for LoopNamingConfig
Source§impl<'de> Deserialize<'de> for LoopNamingConfig
impl<'de> Deserialize<'de> for LoopNamingConfig
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 LoopNamingConfig
impl RefUnwindSafe for LoopNamingConfig
impl Send for LoopNamingConfig
impl Sync for LoopNamingConfig
impl Unpin for LoopNamingConfig
impl UnsafeUnpin for LoopNamingConfig
impl UnwindSafe for LoopNamingConfig
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