pub struct GitHubConfig {
pub owner: String,
pub repo: String,
pub access_token: String,
pub webhook_secret: Option<String>,
pub branches: Vec<String>,
pub auto_deploy_enabled: bool,
}Expand description
GitHub設定
Fields§
§owner: Stringリポジトリ所有者
repo: Stringリポジトリ名
access_token: Stringアクセストークン
webhook_secret: Option<String>Webhookシークレット
branches: Vec<String>監視するブランチ
auto_deploy_enabled: bool自動デプロイ有効化
Trait Implementations§
Source§impl Clone for GitHubConfig
impl Clone for GitHubConfig
Source§fn clone(&self) -> GitHubConfig
fn clone(&self) -> GitHubConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 GitHubConfig
impl Debug for GitHubConfig
Auto Trait Implementations§
impl Freeze for GitHubConfig
impl RefUnwindSafe for GitHubConfig
impl Send for GitHubConfig
impl Sync for GitHubConfig
impl Unpin for GitHubConfig
impl UnwindSafe for GitHubConfig
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