pub struct SetProject {
pub cors_admin: Box<ProjectCors>,
pub cors_public: Box<ProjectCors>,
pub name: String,
pub organizations: Vec<BasicOrganization>,
pub services: Box<ProjectServices>,
}Fields§
§cors_admin: Box<ProjectCors>§cors_public: Box<ProjectCors>§name: StringThe name of the project.
organizations: Vec<BasicOrganization>The organizations that are part of this project.
services: Box<ProjectServices>Implementations§
Source§impl SetProject
impl SetProject
pub fn new( cors_admin: ProjectCors, cors_public: ProjectCors, name: String, organizations: Vec<BasicOrganization>, services: ProjectServices, ) -> SetProject
Trait Implementations§
Source§impl Clone for SetProject
impl Clone for SetProject
Source§fn clone(&self) -> SetProject
fn clone(&self) -> SetProject
Returns a duplicate of the value. Read more
1.0.0 · 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 SetProject
impl Debug for SetProject
Source§impl Default for SetProject
impl Default for SetProject
Source§fn default() -> SetProject
fn default() -> SetProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetProject
impl<'de> Deserialize<'de> for SetProject
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 PartialEq for SetProject
impl PartialEq for SetProject
Source§impl Serialize for SetProject
impl Serialize for SetProject
impl StructuralPartialEq for SetProject
Auto Trait Implementations§
impl Freeze for SetProject
impl RefUnwindSafe for SetProject
impl Send for SetProject
impl Sync for SetProject
impl Unpin for SetProject
impl UnwindSafe for SetProject
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