pub struct CompatibilityReport {
pub schema_codex_version: String,
pub installed_codex_version: Option<String>,
pub surface: SurfaceSummary,
}Fields§
§schema_codex_version: String§installed_codex_version: Option<String>§surface: SurfaceSummaryImplementations§
Source§impl CompatibilityReport
impl CompatibilityReport
pub fn current() -> Self
pub fn from_installed_version(installed_codex_version: Option<String>) -> Self
pub fn schema_matches_installed(&self) -> bool
Trait Implementations§
Source§impl Clone for CompatibilityReport
impl Clone for CompatibilityReport
Source§fn clone(&self) -> CompatibilityReport
fn clone(&self) -> CompatibilityReport
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 CompatibilityReport
impl Debug for CompatibilityReport
Source§impl<'de> Deserialize<'de> for CompatibilityReport
impl<'de> Deserialize<'de> for CompatibilityReport
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 CompatibilityReport
impl PartialEq for CompatibilityReport
Source§fn eq(&self, other: &CompatibilityReport) -> bool
fn eq(&self, other: &CompatibilityReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompatibilityReport
impl Serialize for CompatibilityReport
impl Eq for CompatibilityReport
impl StructuralPartialEq for CompatibilityReport
Auto Trait Implementations§
impl Freeze for CompatibilityReport
impl RefUnwindSafe for CompatibilityReport
impl Send for CompatibilityReport
impl Sync for CompatibilityReport
impl Unpin for CompatibilityReport
impl UnsafeUnpin for CompatibilityReport
impl UnwindSafe for CompatibilityReport
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.