Struct fluvio_index::IndexMetadata [−][src]
pub struct IndexMetadata { pub minimum_client_version: Version, }
Fields
minimum_client_version: Version
The minimum version of a client which must be used in order to properly access the index. If a client finds itself with a lower version than this minimum, it must prompt the user for an update before it can proceed.
This version number corresponds to the crate version of the
fluvio-package-index
crate.
Implementations
This checks whether this version of the client is compatible with the given index.
This will return true
if the minimum_client_version
of the index is
greater than this version of the fluvio-package-index
crate.
Trait Implementations
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 RefUnwindSafe for IndexMetadata
impl Send for IndexMetadata
impl Sync for IndexMetadata
impl Unpin for IndexMetadata
impl UnwindSafe for IndexMetadata