Enum redmine_api::api::roles::TimeEntriesVisibility
source · [−]pub enum TimeEntriesVisibility {
All,
Own,
}
Expand description
determines which time entries are visible to users/group with a role
Variants
All
a user/group with the role can see all time entries (in visible projects)
Own
a user/group with the role can see only time entries created by them
Trait Implementations
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 RefUnwindSafe for TimeEntriesVisibility
impl Send for TimeEntriesVisibility
impl Sync for TimeEntriesVisibility
impl Unpin for TimeEntriesVisibility
impl UnwindSafe for TimeEntriesVisibility
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more