Enum BedrockCacheTtl
pub enum BedrockCacheTtl {
FiveMinutes,
OneHour,
}Expand description
TTL for one Bedrock Converse cache point.
Variants§
FiveMinutes
Use the standard five-minute cache lifetime.
OneHour
Request the extended one-hour cache lifetime on models that support it.
Trait Implementations§
§impl Clone for BedrockCacheTtl
impl Clone for BedrockCacheTtl
§fn clone(&self) -> BedrockCacheTtl
fn clone(&self) -> BedrockCacheTtl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BedrockCacheTtl
§impl Debug for BedrockCacheTtl
impl Debug for BedrockCacheTtl
§impl<'de> Deserialize<'de> for BedrockCacheTtl
impl<'de> Deserialize<'de> for BedrockCacheTtl
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BedrockCacheTtl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BedrockCacheTtl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BedrockCacheTtl
§impl PartialEq for BedrockCacheTtl
impl PartialEq for BedrockCacheTtl
§impl Serialize for BedrockCacheTtl
impl Serialize for BedrockCacheTtl
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BedrockCacheTtl
Auto Trait Implementations§
impl Freeze for BedrockCacheTtl
impl RefUnwindSafe for BedrockCacheTtl
impl Send for BedrockCacheTtl
impl Sync for BedrockCacheTtl
impl Unpin for BedrockCacheTtl
impl UnsafeUnpin for BedrockCacheTtl
impl UnwindSafe for BedrockCacheTtl
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