Struct asana::models::portfolio_request::PortfolioRequest
source · [−]pub struct PortfolioRequest {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub color: Option<Color>,
pub members: Option<Vec<String>>,
pub workspace: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
The name of the portfolio.
color: Option<Color>
Color of the portfolio.
members: Option<Vec<String>>
An array of strings identifying users. These can either be the string "me", an email, or the gid of a user.
workspace: Option<String>
Gid of an object.
Implementations
sourceimpl PortfolioRequest
impl PortfolioRequest
pub fn new() -> PortfolioRequest
Trait Implementations
sourceimpl Clone for PortfolioRequest
impl Clone for PortfolioRequest
sourcefn clone(&self) -> PortfolioRequest
fn clone(&self) -> PortfolioRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PortfolioRequest
impl Debug for PortfolioRequest
sourceimpl<'de> Deserialize<'de> for PortfolioRequest
impl<'de> Deserialize<'de> for PortfolioRequest
sourcefn 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
sourceimpl PartialEq<PortfolioRequest> for PortfolioRequest
impl PartialEq<PortfolioRequest> for PortfolioRequest
sourcefn eq(&self, other: &PortfolioRequest) -> bool
fn eq(&self, other: &PortfolioRequest) -> bool
sourceimpl Serialize for PortfolioRequest
impl Serialize for PortfolioRequest
impl StructuralPartialEq for PortfolioRequest
Auto Trait Implementations
impl RefUnwindSafe for PortfolioRequest
impl Send for PortfolioRequest
impl Sync for PortfolioRequest
impl Unpin for PortfolioRequest
impl UnwindSafe for PortfolioRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more