pub struct AlgEntry {
pub name: String,
pub is_default: bool,
pub denylisted: bool,
}Expand description
One entry in the Catalogue returned by all_supported.
Used to render gitway list-algorithms output: a third column on
the human form showing default / available / denylisted,
plus the corresponding flags on the JSON envelope.
Fields§
§name: StringAlgorithm name as it appears in the SSH wire protocol.
is_default: booltrue if this entry is part of Anvil’s curated default for
its category — i.e. the user gets it without any override.
denylisted: booltrue if this entry is on DENYLIST (FR-78). Surfaces in
gitway list-algorithms so an operator can see why an
override referencing it would be refused.
Trait Implementations§
impl Eq for AlgEntry
impl StructuralPartialEq for AlgEntry
Auto Trait Implementations§
impl Freeze for AlgEntry
impl RefUnwindSafe for AlgEntry
impl Send for AlgEntry
impl Sync for AlgEntry
impl Unpin for AlgEntry
impl UnsafeUnpin for AlgEntry
impl UnwindSafe for AlgEntry
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