pub struct TimeScheduleEntry {
pub starts_at: Option<DateTime<Utc>>,
pub ends_at: Option<DateTime<Utc>>,
pub user_id: Option<String>,
pub user_email: Option<String>,
}Fields§
§starts_at: Option<DateTime<Utc>>The start date of the schedule in ISO 8601 date-time format.
ends_at: Option<DateTime<Utc>>The end date of the schedule in ISO 8601 date-time format.
user_id: Option<String>The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then userEmail can be used as a reference.
user_email: Option<String>The email, name or reference to the user on schedule. This is used in case the external user could not be mapped to a Linear user id.
Trait Implementations§
Source§impl Clone for TimeScheduleEntry
impl Clone for TimeScheduleEntry
Source§fn clone(&self) -> TimeScheduleEntry
fn clone(&self) -> TimeScheduleEntry
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 TimeScheduleEntry
impl Debug for TimeScheduleEntry
Source§impl Default for TimeScheduleEntry
impl Default for TimeScheduleEntry
Source§fn default() -> TimeScheduleEntry
fn default() -> TimeScheduleEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeScheduleEntrywhere
TimeScheduleEntry: Default,
impl<'de> Deserialize<'de> for TimeScheduleEntrywhere
TimeScheduleEntry: 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 GraphQLFields for TimeScheduleEntry
impl GraphQLFields for TimeScheduleEntry
Auto Trait Implementations§
impl Freeze for TimeScheduleEntry
impl RefUnwindSafe for TimeScheduleEntry
impl Send for TimeScheduleEntry
impl Sync for TimeScheduleEntry
impl Unpin for TimeScheduleEntry
impl UnwindSafe for TimeScheduleEntry
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