#[non_exhaustive]pub struct ClearThinkingEdit {
pub type_: ClearThinkingType,
pub keep: Option<ThinkingKeep>,
pub rest: Rest,
}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.type_: ClearThinkingType§keep: Option<ThinkingKeep>§rest: RestImplementations§
Source§impl ClearThinkingEdit
impl ClearThinkingEdit
Sourcepub fn builder(type_: ClearThinkingType) -> ClearThinkingEditBuilder
pub fn builder(type_: ClearThinkingType) -> ClearThinkingEditBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ClearThinkingEdit
impl Clone for ClearThinkingEdit
Source§impl Debug for ClearThinkingEdit
impl Debug for ClearThinkingEdit
Source§impl DeclaredFields for ClearThinkingEdit
impl DeclaredFields for ClearThinkingEdit
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ClearThinkingEdit
impl<'de> Deserialize<'de> for ClearThinkingEdit
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 ClearThinkingEdit
impl PartialEq for ClearThinkingEdit
Source§impl Serialize for ClearThinkingEdit
impl Serialize for ClearThinkingEdit
impl StructuralPartialEq for ClearThinkingEdit
Auto Trait Implementations§
impl Freeze for ClearThinkingEdit
impl RefUnwindSafe for ClearThinkingEdit
impl Send for ClearThinkingEdit
impl Sync for ClearThinkingEdit
impl Unpin for ClearThinkingEdit
impl UnsafeUnpin for ClearThinkingEdit
impl UnwindSafe for ClearThinkingEdit
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