Struct gitlab_client::PublishPackageFileRequest
source · pub struct PublishPackageFileRequest<Str = String, Bytes = Vec<u8>, const SELECT: bool = false> {
pub auth: Option<GitlabAuth<Str>>,
pub project: ProjectRef<Str>,
pub package_name: Str,
pub package_version: Str,
pub filename: Str,
pub status: InputPackageStatus,
pub data: Bytes,
}Expand description
Publish a generic package file
https://docs.gitlab.com/ee/user/packages/generic_packages/#publish-a-package-file
Fields§
§auth: Option<GitlabAuth<Str>>§project: ProjectRef<Str>§package_name: Str§package_version: Str§filename: Str§status: InputPackageStatus§data: BytesImplementations§
Trait Implementations§
source§impl<Str: Clone, Bytes: Clone, const SELECT: bool> Clone for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Clone, Bytes: Clone, const SELECT: bool> Clone for PublishPackageFileRequest<Str, Bytes, SELECT>
source§fn clone(&self) -> PublishPackageFileRequest<Str, Bytes, SELECT>
fn clone(&self) -> PublishPackageFileRequest<Str, Bytes, SELECT>
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<Str: Debug, Bytes: Debug, const SELECT: bool> Debug for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Debug, Bytes: Debug, const SELECT: bool> Debug for PublishPackageFileRequest<Str, Bytes, SELECT>
source§impl<'de, Str, Bytes, const SELECT: bool> Deserialize<'de> for PublishPackageFileRequest<Str, Bytes, SELECT>where
Str: Deserialize<'de>,
Bytes: Deserialize<'de>,
impl<'de, Str, Bytes, const SELECT: bool> Deserialize<'de> for PublishPackageFileRequest<Str, Bytes, SELECT>where
Str: Deserialize<'de>,
Bytes: Deserialize<'de>,
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
source§impl<Str: Hash, Bytes: Hash, const SELECT: bool> Hash for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Hash, Bytes: Hash, const SELECT: bool> Hash for PublishPackageFileRequest<Str, Bytes, SELECT>
source§impl<Str: Ord, Bytes: Ord, const SELECT: bool> Ord for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Ord, Bytes: Ord, const SELECT: bool> Ord for PublishPackageFileRequest<Str, Bytes, SELECT>
source§fn cmp(&self, other: &PublishPackageFileRequest<Str, Bytes, SELECT>) -> Ordering
fn cmp(&self, other: &PublishPackageFileRequest<Str, Bytes, SELECT>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<Str: PartialEq, Bytes: PartialEq, const SELECT: bool> PartialEq for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: PartialEq, Bytes: PartialEq, const SELECT: bool> PartialEq for PublishPackageFileRequest<Str, Bytes, SELECT>
source§fn eq(&self, other: &PublishPackageFileRequest<Str, Bytes, SELECT>) -> bool
fn eq(&self, other: &PublishPackageFileRequest<Str, Bytes, SELECT>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<Str: PartialOrd, Bytes: PartialOrd, const SELECT: bool> PartialOrd for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: PartialOrd, Bytes: PartialOrd, const SELECT: bool> PartialOrd for PublishPackageFileRequest<Str, Bytes, SELECT>
source§fn partial_cmp(
&self,
other: &PublishPackageFileRequest<Str, Bytes, SELECT>
) -> Option<Ordering>
fn partial_cmp( &self, other: &PublishPackageFileRequest<Str, Bytes, SELECT> ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<Str, Bytes, const SELECT: bool> Serialize for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> Serialize for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Copy, Bytes: Copy, const SELECT: bool> Copy for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str: Eq, Bytes: Eq, const SELECT: bool> Eq for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> StructuralEq for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> StructuralPartialEq for PublishPackageFileRequest<Str, Bytes, SELECT>
Auto Trait Implementations§
impl<Str, Bytes, const SELECT: bool> RefUnwindSafe for PublishPackageFileRequest<Str, Bytes, SELECT>where
Bytes: RefUnwindSafe,
Str: RefUnwindSafe,
impl<Str, Bytes, const SELECT: bool> Send for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> Sync for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> Unpin for PublishPackageFileRequest<Str, Bytes, SELECT>
impl<Str, Bytes, const SELECT: bool> UnwindSafe for PublishPackageFileRequest<Str, Bytes, SELECT>where
Bytes: UnwindSafe,
Str: UnwindSafe,
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.