pub struct UiProtocolDeprecationSpec {
pub stage: &'static str,
pub announced_on: &'static str,
pub sunset_target_on: Option<&'static str>,
pub replacement_protocols: &'static [&'static str],
pub note: Option<&'static str>,
}Available on crate feature
server only.Expand description
Planned deprecation metadata for runtime/profile consumers.
Fields§
§stage: &'static str§announced_on: &'static str§sunset_target_on: Option<&'static str>§replacement_protocols: &'static [&'static str]§note: Option<&'static str>Trait Implementations§
Source§impl Clone for UiProtocolDeprecationSpec
impl Clone for UiProtocolDeprecationSpec
Source§fn clone(&self) -> UiProtocolDeprecationSpec
fn clone(&self) -> UiProtocolDeprecationSpec
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 UiProtocolDeprecationSpec
impl Debug for UiProtocolDeprecationSpec
Source§impl Serialize for UiProtocolDeprecationSpec
impl Serialize for UiProtocolDeprecationSpec
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 UiProtocolDeprecationSpec
impl RefUnwindSafe for UiProtocolDeprecationSpec
impl Send for UiProtocolDeprecationSpec
impl Sync for UiProtocolDeprecationSpec
impl Unpin for UiProtocolDeprecationSpec
impl UnsafeUnpin for UiProtocolDeprecationSpec
impl UnwindSafe for UiProtocolDeprecationSpec
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