pub struct Project {Show 21 fields
pub id: Option<String>,
pub name: String,
pub hourly_rate: Option<Rate>,
pub client_id: Option<String>,
pub client: Option<String>,
pub workspace_id: Option<String>,
pub billable: Option<bool>,
pub memberships: Option<Vec<Membership>>,
pub color: Option<String>,
pub estimate: Option<Estimate>,
pub archived: Option<bool>,
pub tasks: Option<Vec<Task>>,
pub note: Option<String>,
pub duration: Option<String>,
pub cost_rate: Option<String>,
pub time_estimate: Option<TimeEstimate>,
pub budget_estimate: Option<String>,
pub custom_fields: Option<Vec<CustomField>>,
pub public: Option<bool>,
pub template: Option<bool>,
pub favorite: Option<bool>,
}
Fields§
§id: Option<String>
§name: String
§hourly_rate: Option<Rate>
§client_id: Option<String>
§client: Option<String>
§workspace_id: Option<String>
§billable: Option<bool>
§memberships: Option<Vec<Membership>>
§color: Option<String>
§estimate: Option<Estimate>
§archived: Option<bool>
§tasks: Option<Vec<Task>>
§note: Option<String>
§duration: Option<String>
§cost_rate: Option<String>
§time_estimate: Option<TimeEstimate>
§budget_estimate: Option<String>
§custom_fields: Option<Vec<CustomField>>
§public: Option<bool>
§template: Option<bool>
§favorite: Option<bool>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 EndPoint for Project
impl EndPoint for Project
fn endpoint(config: &Config) -> Result<String, Error>
fn add_params(params: EndpointParameters) -> String
fn format_url( id: Option<&str>, params: Option<EndpointParameters>, config: &Config, ) -> Result<String, Error>
fn set_api_key(request: RequestBuilder, config: &Config) -> RequestBuilder
fn create( self, client: &Client, config: &Config, params: Option<EndpointParameters>, ) -> Result<Self, Error>
fn patch( data: Self, client: &Client, config: &Config, params: Option<EndpointParameters>, ) -> Result<Self, Error>
fn update( data: Self, client: &Client, config: &Config, params: Option<EndpointParameters>, ) -> Result<Self, Error>
fn list(
client: &Client,
config: &Config,
params: Option<EndpointParameters>,
) -> Result<Vec<Self>, Error>where
for<'de> Self: Sized + Deserialize<'de>,
fn get(
client: &Client,
config: &Config,
id: &str,
params: Option<EndpointParameters>,
) -> Result<Self, Error>where
for<'de> Self: Sized + Deserialize<'de>,
fn add(&self, client: &Client, config: &Config) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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