pub struct UiProtocolDeprecation {
pub stage: &'static str,
pub announced_on: &'static str,
pub sunset_target_on: Option<&'static str>,
pub replacement_protocols: Vec<&'static str>,
pub note: Option<&'static str>,
}Available on crate feature
server only.Fields§
§stage: &'static str§announced_on: &'static str§sunset_target_on: Option<&'static str>§replacement_protocols: Vec<&'static str>§note: Option<&'static str>Trait Implementations§
Source§impl Clone for UiProtocolDeprecation
impl Clone for UiProtocolDeprecation
Source§fn clone(&self) -> UiProtocolDeprecation
fn clone(&self) -> UiProtocolDeprecation
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 UiProtocolDeprecation
impl Debug for UiProtocolDeprecation
Source§impl Serialize for UiProtocolDeprecation
impl Serialize for UiProtocolDeprecation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UiProtocolDeprecation
impl RefUnwindSafe for UiProtocolDeprecation
impl Send for UiProtocolDeprecation
impl Sync for UiProtocolDeprecation
impl Unpin for UiProtocolDeprecation
impl UnsafeUnpin for UiProtocolDeprecation
impl UnwindSafe for UiProtocolDeprecation
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