pub struct CompatibilityInfo {
pub is_compatible: bool,
pub from_version: ProtocolVersion,
pub to_version: ProtocolVersion,
pub warnings: Vec<String>,
pub unsupported_features: Vec<String>,
}Expand description
Migration compatibility information
Fields§
§is_compatible: boolWhether the message is compatible with the target version
from_version: ProtocolVersionProtocol version being migrated from
to_version: ProtocolVersionProtocol version being migrated to
warnings: Vec<String>Any warnings or issues
unsupported_features: Vec<String>Features that may not be supported
Trait Implementations§
Source§impl Clone for CompatibilityInfo
impl Clone for CompatibilityInfo
Source§fn clone(&self) -> CompatibilityInfo
fn clone(&self) -> CompatibilityInfo
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 moreAuto Trait Implementations§
impl Freeze for CompatibilityInfo
impl RefUnwindSafe for CompatibilityInfo
impl Send for CompatibilityInfo
impl Sync for CompatibilityInfo
impl Unpin for CompatibilityInfo
impl UnwindSafe for CompatibilityInfo
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