pub struct KnowledgeOperationResponse {
pub code: Option<i64>,
pub message: Option<String>,
pub timestamp: Option<u64>,
}Expand description
Standard knowledge API response envelope for operations without a payload.
Fields§
§code: Option<i64>Business status code, when the endpoint includes it. The shared transport rejects an explicitly non-success value before this type is returned.
message: Option<String>Human-readable status message.
timestamp: Option<u64>Server timestamp.
Trait Implementations§
Source§impl Clone for KnowledgeOperationResponse
impl Clone for KnowledgeOperationResponse
Source§fn clone(&self) -> KnowledgeOperationResponse
fn clone(&self) -> KnowledgeOperationResponse
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 KnowledgeOperationResponse
impl Debug for KnowledgeOperationResponse
Source§impl<'de> Deserialize<'de> for KnowledgeOperationResponse
impl<'de> Deserialize<'de> for KnowledgeOperationResponse
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<'v_a> ValidateArgs<'v_a> for KnowledgeOperationResponse
impl<'v_a> ValidateArgs<'v_a> for KnowledgeOperationResponse
Auto Trait Implementations§
impl Freeze for KnowledgeOperationResponse
impl RefUnwindSafe for KnowledgeOperationResponse
impl Send for KnowledgeOperationResponse
impl Sync for KnowledgeOperationResponse
impl Unpin for KnowledgeOperationResponse
impl UnsafeUnpin for KnowledgeOperationResponse
impl UnwindSafe for KnowledgeOperationResponse
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