pub struct GithubOptions {
pub name: String,
pub version: String,
pub repo: String,
pub branch: Option<String>,
pub tag: Option<String>,
pub docs_path: Option<String>,
pub fallback_refs: Vec<String>,
pub remote_url: Option<String>,
pub skip_doc_extraction: bool,
}Expand description
Options for a github fetch (port of GithubSourceOptions).
Fields§
§name: String§version: String§repo: String§branch: Option<String>§tag: Option<String>§docs_path: Option<String>§fallback_refs: Vec<String>§remote_url: Option<String>§skip_doc_extraction: boolTrait Implementations§
Source§impl Clone for GithubOptions
impl Clone for GithubOptions
Source§impl Debug for GithubOptions
impl Debug for GithubOptions
Auto Trait Implementations§
impl Forget for GithubOptions
impl Freeze for GithubOptions
impl Move for GithubOptions
impl RefUnwindSafe for GithubOptions
impl Send for GithubOptions
impl Sync for GithubOptions
impl Unpin for GithubOptions
impl UnsafeUnpin for GithubOptions
impl UnwindSafe for GithubOptions
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