Struct aleph_alpha_client::Granularity
source · pub struct Granularity { /* private fields */ }
Expand description
Granularity parameters for the TaskExplanation
Implementations§
source§impl Granularity
impl Granularity
sourcepub fn with_prompt_granularity(
self,
prompt_granularity: PromptGranularity
) -> Self
pub fn with_prompt_granularity( self, prompt_granularity: PromptGranularity ) -> Self
Returns a new Granularity based on the given one with the Granularity::prompt
being set to prompt_granularity
.
Trait Implementations§
source§impl Default for Granularity
impl Default for Granularity
source§fn default() -> Granularity
fn default() -> Granularity
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Granularity
impl Send for Granularity
impl Sync for Granularity
impl Unpin for Granularity
impl UnwindSafe for Granularity
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<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()
.