pub struct CommitTemplateBuildFnTable<'repo> {Show 23 fields
pub core: CoreTemplateBuildFnTable<'repo, CommitTemplateLanguage<'repo>>,
pub operation: OperationTemplateBuildFnTable<'repo, CommitTemplateLanguage<'repo>>,
pub commit_methods: CommitTemplateBuildMethodFnMap<'repo, Commit>,
pub commit_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Commit>>,
pub commit_evolution_entry_methods: CommitTemplateBuildMethodFnMap<'repo, CommitEvolutionEntry>,
pub commit_ref_methods: CommitTemplateBuildMethodFnMap<'repo, Rc<CommitRef>>,
pub commit_ref_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Rc<CommitRef>>>,
pub workspace_ref_methods: CommitTemplateBuildMethodFnMap<'repo, WorkspaceRef>,
pub workspace_ref_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<WorkspaceRef>>,
pub repo_path_methods: CommitTemplateBuildMethodFnMap<'repo, RepoPathBuf>,
pub change_id_methods: CommitTemplateBuildMethodFnMap<'repo, ChangeId>,
pub commit_id_methods: CommitTemplateBuildMethodFnMap<'repo, CommitId>,
pub shortest_id_prefix_methods: CommitTemplateBuildMethodFnMap<'repo, ShortestIdPrefix>,
pub tree_diff_methods: CommitTemplateBuildMethodFnMap<'repo, TreeDiff>,
pub tree_diff_entry_methods: CommitTemplateBuildMethodFnMap<'repo, TreeDiffEntry>,
pub tree_diff_entry_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<TreeDiffEntry>>,
pub tree_entry_methods: CommitTemplateBuildMethodFnMap<'repo, TreeEntry>,
pub tree_entry_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<TreeEntry>>,
pub diff_stats_methods: CommitTemplateBuildMethodFnMap<'repo, DiffStats>,
pub cryptographic_signature_methods: CommitTemplateBuildMethodFnMap<'repo, CryptographicSignature>,
pub annotation_line_methods: CommitTemplateBuildMethodFnMap<'repo, AnnotationLine>,
pub trailer_methods: CommitTemplateBuildMethodFnMap<'repo, Trailer>,
pub trailer_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Trailer>>,
}Expand description
Symbol table of methods available in the commit template.
Fields§
§core: CoreTemplateBuildFnTable<'repo, CommitTemplateLanguage<'repo>>§operation: OperationTemplateBuildFnTable<'repo, CommitTemplateLanguage<'repo>>§commit_methods: CommitTemplateBuildMethodFnMap<'repo, Commit>§commit_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Commit>>§commit_evolution_entry_methods: CommitTemplateBuildMethodFnMap<'repo, CommitEvolutionEntry>§commit_ref_methods: CommitTemplateBuildMethodFnMap<'repo, Rc<CommitRef>>§commit_ref_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Rc<CommitRef>>>§workspace_ref_methods: CommitTemplateBuildMethodFnMap<'repo, WorkspaceRef>§workspace_ref_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<WorkspaceRef>>§repo_path_methods: CommitTemplateBuildMethodFnMap<'repo, RepoPathBuf>§change_id_methods: CommitTemplateBuildMethodFnMap<'repo, ChangeId>§commit_id_methods: CommitTemplateBuildMethodFnMap<'repo, CommitId>§shortest_id_prefix_methods: CommitTemplateBuildMethodFnMap<'repo, ShortestIdPrefix>§tree_diff_methods: CommitTemplateBuildMethodFnMap<'repo, TreeDiff>§tree_diff_entry_methods: CommitTemplateBuildMethodFnMap<'repo, TreeDiffEntry>§tree_diff_entry_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<TreeDiffEntry>>§tree_entry_methods: CommitTemplateBuildMethodFnMap<'repo, TreeEntry>§tree_entry_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<TreeEntry>>§diff_stats_methods: CommitTemplateBuildMethodFnMap<'repo, DiffStats>§cryptographic_signature_methods: CommitTemplateBuildMethodFnMap<'repo, CryptographicSignature>§annotation_line_methods: CommitTemplateBuildMethodFnMap<'repo, AnnotationLine>§trailer_methods: CommitTemplateBuildMethodFnMap<'repo, Trailer>§trailer_list_methods: CommitTemplateBuildMethodFnMap<'repo, Vec<Trailer>>Implementations§
Source§impl CommitTemplateBuildFnTable<'_>
impl CommitTemplateBuildFnTable<'_>
Auto Trait Implementations§
impl<'repo> Freeze for CommitTemplateBuildFnTable<'repo>
impl<'repo> RefUnwindSafe for CommitTemplateBuildFnTable<'repo>
impl<'repo> Send for CommitTemplateBuildFnTable<'repo>
impl<'repo> Sync for CommitTemplateBuildFnTable<'repo>
impl<'repo> Unpin for CommitTemplateBuildFnTable<'repo>
impl<'repo> UnwindSafe for CommitTemplateBuildFnTable<'repo>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more