pub struct VertexAiSessionConfig {
pub project: String,
pub location: String,
pub ttl_seconds: Option<u64>,
}Expand description
Configuration for the Vertex AI session service.
Fields§
§project: StringGoogle Cloud project ID.
location: StringGoogle Cloud region (e.g., us-central1).
ttl_seconds: Option<u64>Optional time-to-live for sessions, in seconds. If set, sessions expire after this duration of inactivity.
Implementations§
Trait Implementations§
Source§impl Clone for VertexAiSessionConfig
impl Clone for VertexAiSessionConfig
Source§fn clone(&self) -> VertexAiSessionConfig
fn clone(&self) -> VertexAiSessionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VertexAiSessionConfig
impl RefUnwindSafe for VertexAiSessionConfig
impl Send for VertexAiSessionConfig
impl Sync for VertexAiSessionConfig
impl Unpin for VertexAiSessionConfig
impl UnsafeUnpin for VertexAiSessionConfig
impl UnwindSafe for VertexAiSessionConfig
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