pub struct ExtensionConfig {
pub name: String,
pub clean: String,
pub smudge: String,
pub priority: i64,
}Expand description
One configured extension. Missing knobs come back as empty/0 to mirror
upstream’s zero-value Extension struct — callers that run extensions
must reject empty clean/smudge themselves.
Fields§
§name: String§clean: String§smudge: String§priority: i64Trait Implementations§
Source§impl Clone for ExtensionConfig
impl Clone for ExtensionConfig
Source§fn clone(&self) -> ExtensionConfig
fn clone(&self) -> ExtensionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExtensionConfig
impl RefUnwindSafe for ExtensionConfig
impl Send for ExtensionConfig
impl Sync for ExtensionConfig
impl Unpin for ExtensionConfig
impl UnsafeUnpin for ExtensionConfig
impl UnwindSafe for ExtensionConfig
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