pub struct InternalTracker {
pub enable_time_tracker: bool,
pub allow_only_contributors_to_track_time: bool,
pub enable_issue_dependencies: bool,
}Expand description
InternalTracker. Forgejo reads a missing property as false, so every
property is always sent.
Fields§
§enable_time_tracker: boolWhether time tracking is enabled.
allow_only_contributors_to_track_time: boolWhether only contributors may track time.
enable_issue_dependencies: boolWhether issues and pull requests may depend on each other.
Implementations§
Source§impl InternalTracker
impl InternalTracker
Sourcepub fn new(tracker: InternalTracker, live: InternalTracker) -> Self
pub fn new(tracker: InternalTracker, live: InternalTracker) -> Self
The body that writes the declared settings and keeps the live value of every undeclared one.
Trait Implementations§
Source§impl Clone for InternalTracker
impl Clone for InternalTracker
Source§fn clone(&self) -> InternalTracker
fn clone(&self) -> InternalTracker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InternalTracker
Source§impl Debug for InternalTracker
impl Debug for InternalTracker
impl Eq for InternalTracker
Source§impl<'ʄ> Facet<'ʄ> for InternalTracker
impl<'ʄ> Facet<'ʄ> for InternalTracker
Source§impl PartialEq for InternalTracker
impl PartialEq for InternalTracker
impl StructuralPartialEq for InternalTracker
Auto Trait Implementations§
impl Freeze for InternalTracker
impl RefUnwindSafe for InternalTracker
impl Send for InternalTracker
impl Sync for InternalTracker
impl Unpin for InternalTracker
impl UnsafeUnpin for InternalTracker
impl UnwindSafe for InternalTracker
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.