pub struct HubRegistry {
pub hubs: Vec<Hub>,
}Expand description
Hub registry configuration
Fields§
§hubs: Vec<Hub>Registered hubs
Implementations§
Source§impl HubRegistry
impl HubRegistry
Trait Implementations§
Source§impl Clone for HubRegistry
impl Clone for HubRegistry
Source§fn clone(&self) -> HubRegistry
fn clone(&self) -> HubRegistry
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 moreSource§impl Debug for HubRegistry
impl Debug for HubRegistry
Source§impl Default for HubRegistry
impl Default for HubRegistry
Source§fn default() -> HubRegistry
fn default() -> HubRegistry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HubRegistry
impl<'de> Deserialize<'de> for HubRegistry
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
Auto Trait Implementations§
impl Freeze for HubRegistry
impl RefUnwindSafe for HubRegistry
impl Send for HubRegistry
impl Sync for HubRegistry
impl Unpin for HubRegistry
impl UnwindSafe for HubRegistry
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