pub enum PlanVerdict {
Allow,
Warn(String),
Refuse(String),
}Expand description
The gate’s answer.
Variants§
Allow
Allowed, silently.
Warn(String)
Allowed, and the client is told line (Grace: plan expired …; renew at …). Delivered as a sideband progress line, so git push prints it
as remote: … beside the report.
Refuse(String)
Refused, with the line the client is told — it names the state, the
date and the URL: plan 10gb expired 2026-10-01: writes closed; renew at https://gunnar.rs/billing/team.
Trait Implementations§
Source§impl Clone for PlanVerdict
impl Clone for PlanVerdict
Source§impl Debug for PlanVerdict
impl Debug for PlanVerdict
impl Eq for PlanVerdict
Source§impl PartialEq for PlanVerdict
impl PartialEq for PlanVerdict
impl StructuralPartialEq for PlanVerdict
Auto Trait Implementations§
impl Freeze for PlanVerdict
impl RefUnwindSafe for PlanVerdict
impl Send for PlanVerdict
impl Sync for PlanVerdict
impl Unpin for PlanVerdict
impl UnsafeUnpin for PlanVerdict
impl UnwindSafe for PlanVerdict
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.