pub struct ComputerCallSafetyCheckParam {
pub id: String,
pub code: Option<String>,
pub message: Option<String>,
}
Expand description
A pending safety check for the computer call.
Fields§
§id: String
The ID of the pending safety check.
code: Option<String>
The type of the pending safety check.
message: Option<String>
Details about the pending safety check.
Implementations§
Source§impl ComputerCallSafetyCheckParam
impl ComputerCallSafetyCheckParam
Sourcepub fn builder() -> ComputerCallSafetyCheckParamBuilder<((), (), ())>
pub fn builder() -> ComputerCallSafetyCheckParamBuilder<((), (), ())>
Create a builder for building ComputerCallSafetyCheckParam
.
On the builder, call .id(...)
, .code(...)
(optional), .message(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ComputerCallSafetyCheckParam
.
Trait Implementations§
Source§impl Clone for ComputerCallSafetyCheckParam
impl Clone for ComputerCallSafetyCheckParam
Source§fn clone(&self) -> ComputerCallSafetyCheckParam
fn clone(&self) -> ComputerCallSafetyCheckParam
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 ComputerCallSafetyCheckParam
impl Debug for ComputerCallSafetyCheckParam
Source§impl<'de> Deserialize<'de> for ComputerCallSafetyCheckParam
impl<'de> Deserialize<'de> for ComputerCallSafetyCheckParam
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 PartialEq for ComputerCallSafetyCheckParam
impl PartialEq for ComputerCallSafetyCheckParam
Source§fn eq(&self, other: &ComputerCallSafetyCheckParam) -> bool
fn eq(&self, other: &ComputerCallSafetyCheckParam) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ComputerCallSafetyCheckParam
Auto Trait Implementations§
impl Freeze for ComputerCallSafetyCheckParam
impl RefUnwindSafe for ComputerCallSafetyCheckParam
impl Send for ComputerCallSafetyCheckParam
impl Sync for ComputerCallSafetyCheckParam
impl Unpin for ComputerCallSafetyCheckParam
impl UnwindSafe for ComputerCallSafetyCheckParam
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