pub struct AdvertisedAdminCapability {
pub name: String,
pub status: RuntimeCapabilityStatus,
}Expand description
One named admin capability advertised by the server itself
(rustfs/backlog#1900). Servers after 1.0.0-rc.3 include this list in
/v4/runtime/capabilities; older servers omit it, in which case the
client falls back to its pinned per-version contract.
Fields§
§name: String§status: RuntimeCapabilityStatusTrait Implementations§
Source§impl Clone for AdvertisedAdminCapability
impl Clone for AdvertisedAdminCapability
Source§fn clone(&self) -> AdvertisedAdminCapability
fn clone(&self) -> AdvertisedAdminCapability
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 AdvertisedAdminCapability
impl Debug for AdvertisedAdminCapability
Source§impl<'de> Deserialize<'de> for AdvertisedAdminCapability
impl<'de> Deserialize<'de> for AdvertisedAdminCapability
Source§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
impl Eq for AdvertisedAdminCapability
impl StructuralPartialEq for AdvertisedAdminCapability
Auto Trait Implementations§
impl Freeze for AdvertisedAdminCapability
impl RefUnwindSafe for AdvertisedAdminCapability
impl Send for AdvertisedAdminCapability
impl Sync for AdvertisedAdminCapability
impl Unpin for AdvertisedAdminCapability
impl UnsafeUnpin for AdvertisedAdminCapability
impl UnwindSafe for AdvertisedAdminCapability
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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