Enum krill::cli::options::PubServerCommand
source · pub enum PubServerCommand {
AddPublisher(PublisherRequest),
ShowPublisher(PublisherHandle),
RemovePublisher(PublisherHandle),
DeleteFiles(RepoFileDeleteCriteria),
RepositoryResponse(PublisherHandle),
StalePublishers(i64),
PublisherList,
RepositoryStats,
RepositoryInit(PublicationServerUris),
RepositoryClear,
RepositorySessionReset,
}
Variants§
AddPublisher(PublisherRequest)
ShowPublisher(PublisherHandle)
RemovePublisher(PublisherHandle)
DeleteFiles(RepoFileDeleteCriteria)
RepositoryResponse(PublisherHandle)
StalePublishers(i64)
PublisherList
RepositoryStats
RepositoryInit(PublicationServerUris)
RepositoryClear
RepositorySessionReset
Trait Implementations§
source§impl Clone for PubServerCommand
impl Clone for PubServerCommand
source§fn clone(&self) -> PubServerCommand
fn clone(&self) -> PubServerCommand
Returns a copy 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 PubServerCommand
impl Debug for PubServerCommand
source§impl PartialEq for PubServerCommand
impl PartialEq for PubServerCommand
source§fn eq(&self, other: &PubServerCommand) -> bool
fn eq(&self, other: &PubServerCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PubServerCommand
impl StructuralEq for PubServerCommand
impl StructuralPartialEq for PubServerCommand
Auto Trait Implementations§
impl RefUnwindSafe for PubServerCommand
impl Send for PubServerCommand
impl Sync for PubServerCommand
impl Unpin for PubServerCommand
impl UnwindSafe for PubServerCommand
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.