pub struct ForgesConfig {
pub enabled: Vec<String>,
pub github_token: Option<String>,
pub gitlab_token: Option<String>,
pub gitlab_base_url: String,
}Fields§
§enabled: Vec<String>§github_token: Option<String>§gitlab_token: Option<String>§gitlab_base_url: StringTrait Implementations§
Source§impl Clone for ForgesConfig
impl Clone for ForgesConfig
Source§fn clone(&self) -> ForgesConfig
fn clone(&self) -> ForgesConfig
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 ForgesConfig
impl Debug for ForgesConfig
Source§impl Default for ForgesConfig
impl Default for ForgesConfig
Source§impl<'de> Deserialize<'de> for ForgesConfigwhere
ForgesConfig: Default,
impl<'de> Deserialize<'de> for ForgesConfigwhere
ForgesConfig: 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
Auto Trait Implementations§
impl Freeze for ForgesConfig
impl RefUnwindSafe for ForgesConfig
impl Send for ForgesConfig
impl Sync for ForgesConfig
impl Unpin for ForgesConfig
impl UnsafeUnpin for ForgesConfig
impl UnwindSafe for ForgesConfig
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