pub struct CreateParams {
pub project: String,
pub title: String,
pub agent: Option<String>,
pub priority: Option<char>,
pub issue_type: Option<String>,
pub deadline: Option<String>,
pub scheduled: Option<String>,
pub tags: Option<String>,
pub parent: Option<String>,
pub body: Option<String>,
}Expand description
issue/create params. Fields match the CLI create verb.
Fields§
§project: StringTarget project.
title: StringHeading title.
agent: Option<String>Override the connection agent.
priority: Option<char>Priority letter.
issue_type: Option<String>:TYPE: property.
deadline: Option<String>Org deadline stamp.
scheduled: Option<String>Org scheduled stamp.
Space-separated tags.
parent: Option<String>Parent issue id.
body: Option<String>Body prose written under the properties drawer.
Trait Implementations§
Source§impl Clone for CreateParams
impl Clone for CreateParams
Source§fn clone(&self) -> CreateParams
fn clone(&self) -> CreateParams
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 moreSource§impl Debug for CreateParams
impl Debug for CreateParams
Source§impl<'de> Deserialize<'de> for CreateParams
impl<'de> Deserialize<'de> for CreateParams
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
impl Eq for CreateParams
Source§impl PartialEq for CreateParams
impl PartialEq for CreateParams
Source§impl Serialize for CreateParams
impl Serialize for CreateParams
impl StructuralPartialEq for CreateParams
Auto Trait Implementations§
impl Freeze for CreateParams
impl RefUnwindSafe for CreateParams
impl Send for CreateParams
impl Sync for CreateParams
impl Unpin for CreateParams
impl UnsafeUnpin for CreateParams
impl UnwindSafe for CreateParams
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.