pub struct ArtifactRepo {
pub repo: String,
pub public: bool,
pub description: Option<String>,
pub updated: u64,
pub tags: Vec<ArtifactRepoTag>,
pub extra: Extra,
}Expand description
A repository: the part of a tag before :, with what was said about it.
Fields§
§repo: String<ns>/<repo>.
public: boolPublic repositories are on the hub and pull without a credential.
description: Option<String>§updated: u64Unix seconds of the last metadata change.
Its tags. Empty in the answer to crate::ArtifactsClient::set_repo.
extra: ExtraTrait Implementations§
Source§impl Clone for ArtifactRepo
impl Clone for ArtifactRepo
Source§impl Debug for ArtifactRepo
impl Debug for ArtifactRepo
Source§impl Default for ArtifactRepo
impl Default for ArtifactRepo
Source§impl<'de> Deserialize<'de> for ArtifactRepowhere
ArtifactRepo: Default,
impl<'de> Deserialize<'de> for ArtifactRepowhere
ArtifactRepo: Default,
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 ArtifactRepo
impl RefUnwindSafe for ArtifactRepo
impl Send for ArtifactRepo
impl Sync for ArtifactRepo
impl Unpin for ArtifactRepo
impl UnsafeUnpin for ArtifactRepo
impl UnwindSafe for ArtifactRepo
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