#[non_exhaustive]pub struct ReasoningEngine {
pub name: String,
pub display_name: String,
pub description: String,
pub spec: Option<ReasoningEngineSpec>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
/* private fields */
}Expand description
ReasoningEngine provides a customizable runtime for models to determine which actions to take and in which order.
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.name: StringIdentifier. The resource name of the ReasoningEngine.
display_name: StringRequired. The display name of the ReasoningEngine.
description: StringOptional. The description of the ReasoningEngine.
spec: Option<ReasoningEngineSpec>Optional. Configurations of the ReasoningEngine
create_time: Option<Timestamp>Output only. Timestamp when this ReasoningEngine was created.
update_time: Option<Timestamp>Output only. Timestamp when this ReasoningEngine was most recently updated.
etag: StringOptional. Used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
Implementations§
Source§impl ReasoningEngine
impl ReasoningEngine
pub fn new() -> Self
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_spec<T: Into<Option<ReasoningEngineSpec>>>(self, v: T) -> Self
pub fn set_spec<T: Into<Option<ReasoningEngineSpec>>>(self, v: T) -> Self
Sets the value of spec.
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of update_time.
Trait Implementations§
Source§impl Clone for ReasoningEngine
impl Clone for ReasoningEngine
Source§fn clone(&self) -> ReasoningEngine
fn clone(&self) -> ReasoningEngine
Returns a copy 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 ReasoningEngine
impl Debug for ReasoningEngine
Source§impl Default for ReasoningEngine
impl Default for ReasoningEngine
Source§fn default() -> ReasoningEngine
fn default() -> ReasoningEngine
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningEnginewhere
ReasoningEngine: Default,
impl<'de> Deserialize<'de> for ReasoningEnginewhere
ReasoningEngine: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ReasoningEngine
impl Message for ReasoningEngine
Source§impl PartialEq for ReasoningEngine
impl PartialEq for ReasoningEngine
Source§impl Serialize for ReasoningEngine
impl Serialize for ReasoningEngine
impl StructuralPartialEq for ReasoningEngine
Auto Trait Implementations§
impl Freeze for ReasoningEngine
impl RefUnwindSafe for ReasoningEngine
impl Send for ReasoningEngine
impl Sync for ReasoningEngine
impl Unpin for ReasoningEngine
impl UnwindSafe for ReasoningEngine
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