pub struct Terms {
pub billing: Option<&'static str>,
pub usd_per_hour: Option<f64>,
pub free_hours_left: Option<f64>,
pub topup_usd: Option<f64>,
}Expand description
The terms of a billable write, from a 428 confirmation_required
(error.details): one shape for the cloud, the CLI and LeanCTX Code.
Fields§
§billing: Option<&'static str>free (the team’s free weave_host hours) or billed (paid from
the top-up, the only source of computer minutes); None when the
cloud named neither.
usd_per_hour: Option<f64>§free_hours_left: Option<f64>§topup_usd: Option<f64>What is left of the top-up, in USD.
Trait Implementations§
impl Copy for Terms
impl StructuralPartialEq for Terms
Auto Trait Implementations§
impl Forget for Terms
impl Freeze for Terms
impl Move for Terms
impl RefUnwindSafe for Terms
impl Send for Terms
impl Sync for Terms
impl Unpin for Terms
impl UnsafeUnpin for Termswhere
&'static str: UnsafeUnpin,
impl UnwindSafe for Termswhere
&'static str: UnwindSafe,
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more