pub struct Workspace {
    pub hourly_rate: Option<Rate>,
    pub id: Option<String>,
    pub image_url: Option<String>,
    pub memberships: Option<Vec<Membership>>,
    pub name: String,
    pub workspace_settings: Option<Setting>,
}Fields§
§hourly_rate: Option<Rate>§id: Option<String>§image_url: Option<String>§memberships: Option<Vec<Membership>>§name: String§workspace_settings: Option<Setting>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
 
impl<'de> Deserialize<'de> for Workspace
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 Workspace
 
impl EndPoint for Workspace
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 Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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