pub struct Hub {
pub name: String,
pub url: String,
pub description: Option<String>,
pub is_default: bool,
pub added_at: String,
}Expand description
A Hub is a repository that aggregates multiple Channels
Fields§
§name: StringUnique name for this hub (e.g., “official”, “company-internal”)
url: StringGitHub repository URL
description: Option<String>Optional description
is_default: boolWhether this is the default hub (official)
added_at: StringWhen this hub was added
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hub
impl<'de> Deserialize<'de> for Hub
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 Hub
impl RefUnwindSafe for Hub
impl Send for Hub
impl Sync for Hub
impl Unpin for Hub
impl UnsafeUnpin for Hub
impl UnwindSafe for Hub
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