pub struct LegacyManagedBlock {
pub start_marker: String,
pub end_marker: String,
}Expand description
Caller-provided marker pair for a legacy managed shell block.
Use this with crate::migrate_managed_blocks when adopting shellcomp in a CLI that
previously managed its own shell startup block markers.
Fields§
§start_marker: StringStart marker that uniquely identifies the legacy managed block.
end_marker: StringMatching end marker for the legacy managed block.
Trait Implementations§
Source§impl Clone for LegacyManagedBlock
impl Clone for LegacyManagedBlock
Source§fn clone(&self) -> LegacyManagedBlock
fn clone(&self) -> LegacyManagedBlock
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 LegacyManagedBlock
impl Debug for LegacyManagedBlock
Source§impl PartialEq for LegacyManagedBlock
impl PartialEq for LegacyManagedBlock
impl Eq for LegacyManagedBlock
impl StructuralPartialEq for LegacyManagedBlock
Auto Trait Implementations§
impl Freeze for LegacyManagedBlock
impl RefUnwindSafe for LegacyManagedBlock
impl Send for LegacyManagedBlock
impl Sync for LegacyManagedBlock
impl Unpin for LegacyManagedBlock
impl UnsafeUnpin for LegacyManagedBlock
impl UnwindSafe for LegacyManagedBlock
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