Struct aleph_alpha_client::How
source · pub struct How {
pub be_nice: bool,
}
Expand description
Controls of how to execute a task
Fields§
§be_nice: bool
Set this to true
if you want to not put any load on the API in case it is already pretty
busy for the models you intend to use. All this does from the user perspective is that it
makes it more likely you get a Busy
response from the server. One of the reasons you may
want to set is that you are an employee or associate of Aleph Alpha and want to perform
experiments without hurting paying customers.
Implementations§
Trait Implementations§
impl Eq for How
impl StructuralEq for How
impl StructuralPartialEq for How
Auto Trait Implementations§
impl RefUnwindSafe for How
impl Send for How
impl Sync for How
impl Unpin for How
impl UnwindSafe for How
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.