pub struct FeatureUpdateKey<'a> {
pub feature: &'a str,
pub max_version_level: i16,
pub allow_downgrade: bool,
pub upgrade_type: i8,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§feature: &'a str§max_version_level: i16§allow_downgrade: bool§upgrade_type: i8§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl FeatureUpdateKey<'_>
impl FeatureUpdateKey<'_>
pub fn to_owned(&self) -> FeatureUpdateKey
Trait Implementations§
Source§impl<'a> Clone for FeatureUpdateKey<'a>
impl<'a> Clone for FeatureUpdateKey<'a>
Source§fn clone(&self) -> FeatureUpdateKey<'a>
fn clone(&self) -> FeatureUpdateKey<'a>
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<'a> Debug for FeatureUpdateKey<'a>
impl<'a> Debug for FeatureUpdateKey<'a>
Source§impl<'de> DecodeBorrow<'de> for FeatureUpdateKey<'de>
impl<'de> DecodeBorrow<'de> for FeatureUpdateKey<'de>
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§impl Default for FeatureUpdateKey<'_>
impl Default for FeatureUpdateKey<'_>
Source§impl Encode for FeatureUpdateKey<'_>
impl Encode for FeatureUpdateKey<'_>
impl<'a> Eq for FeatureUpdateKey<'a>
Source§impl<'a> PartialEq for FeatureUpdateKey<'a>
impl<'a> PartialEq for FeatureUpdateKey<'a>
Source§fn eq(&self, other: &FeatureUpdateKey<'a>) -> bool
fn eq(&self, other: &FeatureUpdateKey<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for FeatureUpdateKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for FeatureUpdateKey<'a>
impl<'a> RefUnwindSafe for FeatureUpdateKey<'a>
impl<'a> Send for FeatureUpdateKey<'a>
impl<'a> Sync for FeatureUpdateKey<'a>
impl<'a> Unpin for FeatureUpdateKey<'a>
impl<'a> UnsafeUnpin for FeatureUpdateKey<'a>
impl<'a> UnwindSafe for FeatureUpdateKey<'a>
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