pub struct K8sCoreSource {
pub version: String,
pub openapi_spec: String,
pub spec_url: String,
}Expand description
Kubernetes core types (OpenAPI) fingerprinting
Fields§
§version: String§openapi_spec: String§spec_url: StringTrait Implementations§
Source§impl Fingerprintable for K8sCoreSource
impl Fingerprintable for K8sCoreSource
Source§fn create_fingerprint(&self) -> Result<ContentFingerprint, Box<dyn Error>>
fn create_fingerprint(&self) -> Result<ContentFingerprint, Box<dyn Error>>
Create a content fingerprint for this source
Source§fn has_changed(
&self,
last_fingerprint: &ContentFingerprint,
) -> Result<bool, Box<dyn Error>>
fn has_changed( &self, last_fingerprint: &ContentFingerprint, ) -> Result<bool, Box<dyn Error>>
Check if content has changed since the last fingerprint
Auto Trait Implementations§
impl Freeze for K8sCoreSource
impl RefUnwindSafe for K8sCoreSource
impl Send for K8sCoreSource
impl Sync for K8sCoreSource
impl Unpin for K8sCoreSource
impl UnwindSafe for K8sCoreSource
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