pub struct RepoArgs {
pub owner: String,
pub repo: String,
pub branch: Option<String>,
pub sha: Option<String>,
}Expand description
Shared owner/repo/branch/sha selectors for Codecov repo tools.
Fields§
§owner: StringGitHub owner or org (e.g. Interchouette-ITC).
repo: StringRepository name (e.g. rustashop).
branch: Option<String>Branch head to query when sha is omitted.
sha: Option<String>Commit SHA; when set, takes precedence over branch on the API.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoArgs
impl<'de> Deserialize<'de> for RepoArgs
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 JsonSchema for RepoArgs
impl JsonSchema for RepoArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RepoArgs
impl RefUnwindSafe for RepoArgs
impl Send for RepoArgs
impl Sync for RepoArgs
impl Unpin for RepoArgs
impl UnsafeUnpin for RepoArgs
impl UnwindSafe for RepoArgs
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