pub struct OperationMetadata {
pub name: String,
pub description: String,
pub arguments: Vec<ArgumentMetadata>,
pub return_type: String,
pub is_mutating: bool,
pub estimated_duration_ms: Option<u64>,
}
Expand description
Operation metadata within a feature
Fields§
§name: String
Operation name
description: String
Operation description
arguments: Vec<ArgumentMetadata>
Required arguments
return_type: String
Return type description
is_mutating: bool
Whether operation modifies state
estimated_duration_ms: Option<u64>
Estimated execution time in milliseconds
Trait Implementations§
Source§impl Clone for OperationMetadata
impl Clone for OperationMetadata
Source§fn clone(&self) -> OperationMetadata
fn clone(&self) -> OperationMetadata
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 OperationMetadata
impl Debug for OperationMetadata
Source§impl<'de> Deserialize<'de> for OperationMetadata
impl<'de> Deserialize<'de> for OperationMetadata
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 From<OperationMetadata> for OperationInfo
impl From<OperationMetadata> for OperationInfo
Source§fn from(metadata: OperationMetadata) -> Self
fn from(metadata: OperationMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationMetadata
impl RefUnwindSafe for OperationMetadata
impl Send for OperationMetadata
impl Sync for OperationMetadata
impl Unpin for OperationMetadata
impl UnwindSafe for OperationMetadata
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