pub struct GithubReadmeConfig {
pub enabled: bool,
pub local_repo_path: String,
pub bio_template_path: String,
pub git_author_name: String,
pub git_author_email: String,
}Expand description
GitHub Profile README auto-update settings.
Fields§
§enabled: boolWhether the GitHub README update is enabled.
local_repo_path: StringAbsolute path to the local clone of the profile repo
(e.g. /home/pleclech/projects/100-tokens-profile). Must already
be cloned with origin configured for git push (HTTPS token or
SSH key).
bio_template_path: StringPath (absolute or relative to local_repo_path) to the operator-
authored bio template inserted at the top of the README. If the
file is missing, a minimal default is used.
Git commit author name.
Git commit author email.
Trait Implementations§
Source§impl Clone for GithubReadmeConfig
impl Clone for GithubReadmeConfig
Source§fn clone(&self) -> GithubReadmeConfig
fn clone(&self) -> GithubReadmeConfig
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 GithubReadmeConfig
impl Debug for GithubReadmeConfig
Source§impl<'de> Deserialize<'de> for GithubReadmeConfig
impl<'de> Deserialize<'de> for GithubReadmeConfig
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 GithubReadmeConfig
impl RefUnwindSafe for GithubReadmeConfig
impl Send for GithubReadmeConfig
impl Sync for GithubReadmeConfig
impl Unpin for GithubReadmeConfig
impl UnsafeUnpin for GithubReadmeConfig
impl UnwindSafe for GithubReadmeConfig
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