pub struct ModuleAnnotations {
pub readonly: bool,
pub destructive: bool,
pub idempotent: bool,
pub requires_approval: bool,
pub open_world: bool,
pub streaming: bool,
pub cacheable: bool,
pub cache_ttl: u64,
pub cache_key_fields: Option<Vec<String>>,
pub paginated: bool,
pub pagination_style: String,
pub extra: HashMap<String, Value>,
}Expand description
Metadata annotations attached to a module. Describes behavioral characteristics of the module.
Fields§
§readonly: bool§destructive: bool§idempotent: bool§requires_approval: bool§open_world: bool§streaming: bool§cacheable: bool§cache_ttl: u64§cache_key_fields: Option<Vec<String>>§paginated: bool§pagination_style: String§extra: HashMap<String, Value>Extension map for ecosystem package metadata. Unknown JSON keys are captured here via serde(flatten).
Trait Implementations§
Source§impl Clone for ModuleAnnotations
impl Clone for ModuleAnnotations
Source§fn clone(&self) -> ModuleAnnotations
fn clone(&self) -> ModuleAnnotations
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 ModuleAnnotations
impl Debug for ModuleAnnotations
Source§impl Default for ModuleAnnotations
impl Default for ModuleAnnotations
Source§impl<'de> Deserialize<'de> for ModuleAnnotations
impl<'de> Deserialize<'de> for ModuleAnnotations
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
Auto Trait Implementations§
impl Freeze for ModuleAnnotations
impl RefUnwindSafe for ModuleAnnotations
impl Send for ModuleAnnotations
impl Sync for ModuleAnnotations
impl Unpin for ModuleAnnotations
impl UnsafeUnpin for ModuleAnnotations
impl UnwindSafe for ModuleAnnotations
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