pub struct GitHubUrlsConfig {
pub api: Option<String>,
pub upload: Option<String>,
pub download: Option<String>,
pub skip_tls_verify: Option<bool>,
}Expand description
Custom GitHub API/upload/download URLs for GitHub Enterprise installations.
Matches GoReleaser’s GitHubURLs struct.
Fields§
§api: Option<String>GitHub API base URL (e.g. https://github.example.com/api/v3/).
upload: Option<String>GitHub upload URL for release assets (e.g. https://github.example.com/api/uploads/).
download: Option<String>GitHub download URL for release assets (e.g. https://github.example.com/).
skip_tls_verify: Option<bool>When true, skip TLS certificate verification for the custom URLs.
Trait Implementations§
Source§impl Clone for GitHubUrlsConfig
impl Clone for GitHubUrlsConfig
Source§fn clone(&self) -> GitHubUrlsConfig
fn clone(&self) -> GitHubUrlsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitHubUrlsConfig
impl Debug for GitHubUrlsConfig
Source§impl Default for GitHubUrlsConfig
impl Default for GitHubUrlsConfig
Source§fn default() -> GitHubUrlsConfig
fn default() -> GitHubUrlsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitHubUrlsConfigwhere
GitHubUrlsConfig: Default,
impl<'de> Deserialize<'de> for GitHubUrlsConfigwhere
GitHubUrlsConfig: 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
Source§impl JsonSchema for GitHubUrlsConfig
impl JsonSchema for GitHubUrlsConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for GitHubUrlsConfig
impl RefUnwindSafe for GitHubUrlsConfig
impl Send for GitHubUrlsConfig
impl Sync for GitHubUrlsConfig
impl Unpin for GitHubUrlsConfig
impl UnsafeUnpin for GitHubUrlsConfig
impl UnwindSafe for GitHubUrlsConfig
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