pub struct FoldCommand {
pub block_id: String,
pub depth: Option<usize>,
pub max_tokens: Option<usize>,
pub preserve_tags: Vec<String>,
}Expand description
FOLD command
Fields§
§block_id: String§depth: Option<usize>§max_tokens: Option<usize>Trait Implementations§
Source§impl Clone for FoldCommand
impl Clone for FoldCommand
Source§fn clone(&self) -> FoldCommand
fn clone(&self) -> FoldCommand
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 FoldCommand
impl Debug for FoldCommand
Source§impl<'de> Deserialize<'de> for FoldCommand
impl<'de> Deserialize<'de> for FoldCommand
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 FoldCommand
impl PartialEq for FoldCommand
Source§impl Serialize for FoldCommand
impl Serialize for FoldCommand
impl StructuralPartialEq for FoldCommand
Auto Trait Implementations§
impl Freeze for FoldCommand
impl RefUnwindSafe for FoldCommand
impl Send for FoldCommand
impl Sync for FoldCommand
impl Unpin for FoldCommand
impl UnwindSafe for FoldCommand
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