pub struct ForkConfig {
pub title: String,
pub logo: String,
pub footer: Option<String>,
pub base: Source,
pub fork: Source,
pub def: Section,
pub ignore: Vec<String>,
}Expand description
The exor Fork Config YAML
Fields§
§title: StringThe site title.
If the title is not provided, the default value
EXOR Generated Fork Diff Site will be used.
logo: StringThe site logo.
If the logo is not provided, the default value
https://raw.githubusercontent.com/refcell/exor/main/etc/logo.png will be used.
The logo must be a valid URL.
The site footer. An optional value. If no footer is specified, the generated site will not have a footer.
base: SourceThe Base Source Object.
fork: SourceThe Fork Source Object.
def: SectionThe fork diff site definition.
ignore: Vec<String>Glob paths to exclude from the diff.
Trait Implementations§
Source§impl Clone for ForkConfig
impl Clone for ForkConfig
Source§fn clone(&self) -> ForkConfig
fn clone(&self) -> ForkConfig
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 ForkConfig
impl Debug for ForkConfig
Source§impl Default for ForkConfig
impl Default for ForkConfig
Source§fn default() -> ForkConfig
fn default() -> ForkConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForkConfigwhere
ForkConfig: Default,
impl<'de> Deserialize<'de> for ForkConfigwhere
ForkConfig: 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 PartialEq for ForkConfig
impl PartialEq for ForkConfig
Source§impl Serialize for ForkConfig
impl Serialize for ForkConfig
impl StructuralPartialEq for ForkConfig
Auto Trait Implementations§
impl Freeze for ForkConfig
impl RefUnwindSafe for ForkConfig
impl Send for ForkConfig
impl Sync for ForkConfig
impl Unpin for ForkConfig
impl UnwindSafe for ForkConfig
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