pub struct GitHubPagesConfig {
pub name: String,
pub description: String,
pub base_url: String,
pub github_repo: Option<String>,
pub theme: String,
pub cname: Option<String>,
pub build: BuildConfig,
pub deployment: DeploymentConfig,
}
Expand description
GitHub Pages site configuration
Fields§
§name: String
Site metadata
description: String
§base_url: String
§github_repo: Option<String>
GitHub repository information
theme: String
Theme configuration
cname: Option<String>
Custom domain (optional)
build: BuildConfig
Build configuration
deployment: DeploymentConfig
Deployment configuration
Trait Implementations§
Source§impl Clone for GitHubPagesConfig
impl Clone for GitHubPagesConfig
Source§fn clone(&self) -> GitHubPagesConfig
fn clone(&self) -> GitHubPagesConfig
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 GitHubPagesConfig
impl Debug for GitHubPagesConfig
Source§impl<'de> Deserialize<'de> for GitHubPagesConfig
impl<'de> Deserialize<'de> for GitHubPagesConfig
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 GitHubPagesConfig
impl RefUnwindSafe for GitHubPagesConfig
impl Send for GitHubPagesConfig
impl Sync for GitHubPagesConfig
impl Unpin for GitHubPagesConfig
impl UnwindSafe for GitHubPagesConfig
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