Struct asana::models::portfolio_base::PortfolioBase
source · [−]pub struct PortfolioBase {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub color: Option<Color>,
}
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.
Implementations
sourceimpl PortfolioBase
impl PortfolioBase
pub fn new() -> PortfolioBase
Trait Implementations
sourceimpl Clone for PortfolioBase
impl Clone for PortfolioBase
sourcefn clone(&self) -> PortfolioBase
fn clone(&self) -> PortfolioBase
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 PortfolioBase
impl Debug for PortfolioBase
sourceimpl<'de> Deserialize<'de> for PortfolioBase
impl<'de> Deserialize<'de> for PortfolioBase
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<PortfolioBase> for PortfolioBase
impl PartialEq<PortfolioBase> for PortfolioBase
sourcefn eq(&self, other: &PortfolioBase) -> bool
fn eq(&self, other: &PortfolioBase) -> bool
sourceimpl Serialize for PortfolioBase
impl Serialize for PortfolioBase
impl StructuralPartialEq for PortfolioBase
Auto Trait Implementations
impl RefUnwindSafe for PortfolioBase
impl Send for PortfolioBase
impl Sync for PortfolioBase
impl Unpin for PortfolioBase
impl UnwindSafe for PortfolioBase
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