pub struct SearchRepository {
pub project_id: Option<i32>,
pub project_name: Option<String>,
pub project_public: Option<bool>,
pub repository_name: Option<String>,
pub pull_count: Option<i32>,
pub artifact_count: Option<i32>,
}Fields§
§project_id: Option<i32>The ID of the project that the repository belongs to
project_name: Option<String>The name of the project that the repository belongs to
project_public: Option<bool>The flag to indicate the publicity of the project that the repository belongs to (1 is public, 0 is not)
repository_name: Option<String>The name of the repository
pull_count: Option<i32>The count how many times the repository is pulled
artifact_count: Option<i32>The count of artifacts in the repository
Implementations§
Source§impl SearchRepository
impl SearchRepository
pub fn new() -> SearchRepository
Trait Implementations§
Source§impl Clone for SearchRepository
impl Clone for SearchRepository
Source§fn clone(&self) -> SearchRepository
fn clone(&self) -> SearchRepository
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 SearchRepository
impl Debug for SearchRepository
Source§impl Default for SearchRepository
impl Default for SearchRepository
Source§fn default() -> SearchRepository
fn default() -> SearchRepository
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchRepository
impl<'de> Deserialize<'de> for SearchRepository
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 PartialEq for SearchRepository
impl PartialEq for SearchRepository
Source§impl Serialize for SearchRepository
impl Serialize for SearchRepository
impl StructuralPartialEq for SearchRepository
Auto Trait Implementations§
impl Freeze for SearchRepository
impl RefUnwindSafe for SearchRepository
impl Send for SearchRepository
impl Sync for SearchRepository
impl Unpin for SearchRepository
impl UnwindSafe for SearchRepository
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