pub struct CachedSpec {
pub cache_format_version: u32,
pub name: String,
pub version: String,
pub commands: Vec<CachedCommand>,
pub base_url: Option<String>,
pub servers: Vec<String>,
pub security_schemes: HashMap<String, CachedSecurityScheme>,
pub skipped_endpoints: Vec<SkippedEndpoint>,
pub server_variables: HashMap<String, ServerVariable>,
}Fields§
§cache_format_version: u32Cache format version to detect incompatible changes
name: String§version: String§commands: Vec<CachedCommand>§base_url: Option<String>Base URL extracted from the first server in the OpenAPI spec
servers: Vec<String>All server URLs from the OpenAPI spec for future multi-environment support
security_schemes: HashMap<String, CachedSecurityScheme>Security schemes defined in the OpenAPI spec with x-aperture-secret mappings
skipped_endpoints: Vec<SkippedEndpoint>Endpoints skipped during validation due to unsupported features (added in v0.1.2)
server_variables: HashMap<String, ServerVariable>Server variables defined in the OpenAPI spec for URL template resolution (added in v0.1.3)
Trait Implementations§
Source§impl Clone for CachedSpec
impl Clone for CachedSpec
Source§fn clone(&self) -> CachedSpec
fn clone(&self) -> CachedSpec
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 CachedSpec
impl Debug for CachedSpec
Source§impl<'de> Deserialize<'de> for CachedSpec
impl<'de> Deserialize<'de> for CachedSpec
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 CachedSpec
impl PartialEq for CachedSpec
Source§impl Serialize for CachedSpec
impl Serialize for CachedSpec
impl Eq for CachedSpec
impl StructuralPartialEq for CachedSpec
Auto Trait Implementations§
impl Freeze for CachedSpec
impl RefUnwindSafe for CachedSpec
impl Send for CachedSpec
impl Sync for CachedSpec
impl Unpin for CachedSpec
impl UnwindSafe for CachedSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.