pub struct GitLabUrlsConfig {
pub api: Option<String>,
pub download: Option<String>,
pub skip_tls_verify: Option<bool>,
pub use_package_registry: Option<bool>,
pub use_job_token: Option<bool>,
}Expand description
Custom GitLab API/download URLs for self-hosted GitLab installations.
Matches GoReleaser’s GitLabURLs struct.
Fields§
§api: Option<String>GitLab API base URL (e.g. https://gitlab.example.com/api/v4/).
download: Option<String>GitLab download URL for release assets.
skip_tls_verify: Option<bool>When true, skip TLS certificate verification for the custom URLs.
use_package_registry: Option<bool>When true, use the GitLab Package Registry for uploads instead of Generic Packages.
use_job_token: Option<bool>When true, use the CI_JOB_TOKEN for authentication instead of a personal token.
Trait Implementations§
Source§impl Clone for GitLabUrlsConfig
impl Clone for GitLabUrlsConfig
Source§fn clone(&self) -> GitLabUrlsConfig
fn clone(&self) -> GitLabUrlsConfig
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 GitLabUrlsConfig
impl Debug for GitLabUrlsConfig
Source§impl Default for GitLabUrlsConfig
impl Default for GitLabUrlsConfig
Source§fn default() -> GitLabUrlsConfig
fn default() -> GitLabUrlsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitLabUrlsConfigwhere
GitLabUrlsConfig: Default,
impl<'de> Deserialize<'de> for GitLabUrlsConfigwhere
GitLabUrlsConfig: 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 GitLabUrlsConfig
impl JsonSchema for GitLabUrlsConfig
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 GitLabUrlsConfig
impl RefUnwindSafe for GitLabUrlsConfig
impl Send for GitLabUrlsConfig
impl Sync for GitLabUrlsConfig
impl Unpin for GitLabUrlsConfig
impl UnsafeUnpin for GitLabUrlsConfig
impl UnwindSafe for GitLabUrlsConfig
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