pub struct RuntimeResponseV3 {
pub request_id: String,
pub api_version: u32,
pub runtime_identity: IdentityV3,
pub model_generation: u64,
pub state_generation: u64,
pub response: RuntimeResponseBodyV3,
}Expand description
V3 response envelope.
Fields§
§request_id: String§api_version: u32§runtime_identity: IdentityV3§model_generation: u64§state_generation: u64§response: RuntimeResponseBodyV3Implementations§
Source§impl RuntimeResponseV3
impl RuntimeResponseV3
Sourcepub fn validate(&self) -> Result<(), ProtocolV3Error>
pub fn validate(&self) -> Result<(), ProtocolV3Error>
Validate all bounded response fields and the encoded size.
Trait Implementations§
Source§impl Clone for RuntimeResponseV3
impl Clone for RuntimeResponseV3
Source§fn clone(&self) -> RuntimeResponseV3
fn clone(&self) -> RuntimeResponseV3
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 moreSource§impl Debug for RuntimeResponseV3
impl Debug for RuntimeResponseV3
Source§impl<'de> Deserialize<'de> for RuntimeResponseV3
impl<'de> Deserialize<'de> for RuntimeResponseV3
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 RuntimeResponseV3
impl PartialEq for RuntimeResponseV3
Source§impl Serialize for RuntimeResponseV3
impl Serialize for RuntimeResponseV3
impl StructuralPartialEq for RuntimeResponseV3
Auto Trait Implementations§
impl Freeze for RuntimeResponseV3
impl RefUnwindSafe for RuntimeResponseV3
impl Send for RuntimeResponseV3
impl Sync for RuntimeResponseV3
impl Unpin for RuntimeResponseV3
impl UnsafeUnpin for RuntimeResponseV3
impl UnwindSafe for RuntimeResponseV3
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