#[non_exhaustive]pub struct AgentAssistInputDataConfig {
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
/* private fields */
}Available on crate feature
generator-evaluations only.Expand description
The distinctive configs for Agent Assist conversations as the conversation source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: Option<Timestamp>Required. The start of the time range for conversations to be evaluated. Only conversations created at or after this timestamp will be sampled.
end_time: Option<Timestamp>Required. The end of the time range for conversations to be evaluated. Only conversations ended at or before this timestamp will be sampled.
Implementations§
Source§impl AgentAssistInputDataConfig
impl AgentAssistInputDataConfig
pub fn new() -> Self
Sourcepub fn set_start_time<T>(self, v: T) -> Self
pub fn set_start_time<T>(self, v: T) -> Self
Sets the value of start_time.
§Example
ⓘ
use wkt::Timestamp;
let x = AgentAssistInputDataConfig::new().set_start_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of start_time.
§Example
ⓘ
use wkt::Timestamp;
let x = AgentAssistInputDataConfig::new().set_or_clear_start_time(Some(Timestamp::default()/* use setters */));
let x = AgentAssistInputDataConfig::new().set_or_clear_start_time(None::<Timestamp>);Sourcepub fn set_end_time<T>(self, v: T) -> Self
pub fn set_end_time<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_end_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_end_time<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for AgentAssistInputDataConfig
impl Clone for AgentAssistInputDataConfig
Source§fn clone(&self) -> AgentAssistInputDataConfig
fn clone(&self) -> AgentAssistInputDataConfig
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 moreSource§impl Debug for AgentAssistInputDataConfig
impl Debug for AgentAssistInputDataConfig
Source§impl Default for AgentAssistInputDataConfig
impl Default for AgentAssistInputDataConfig
Source§fn default() -> AgentAssistInputDataConfig
fn default() -> AgentAssistInputDataConfig
Returns the “default value” for a type. Read more
Source§impl Message for AgentAssistInputDataConfig
impl Message for AgentAssistInputDataConfig
impl StructuralPartialEq for AgentAssistInputDataConfig
Auto Trait Implementations§
impl Freeze for AgentAssistInputDataConfig
impl RefUnwindSafe for AgentAssistInputDataConfig
impl Send for AgentAssistInputDataConfig
impl Sync for AgentAssistInputDataConfig
impl Unpin for AgentAssistInputDataConfig
impl UnwindSafe for AgentAssistInputDataConfig
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