Struct ory_client::models::set_project::SetProject
source · pub struct SetProject {
pub cors_admin: Box<Cors>,
pub cors_public: Box<Cors>,
pub name: String,
pub services: Box<ProjectServices>,
}Fields§
§cors_admin: Box<Cors>§cors_public: Box<Cors>§name: StringThe name of the project.
services: Box<ProjectServices>Implementations§
source§impl SetProject
impl SetProject
pub fn new( cors_admin: Cors, cors_public: Cors, name: String, 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 copy 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<'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<SetProject> for SetProject
impl PartialEq<SetProject> for SetProject
source§fn eq(&self, other: &SetProject) -> bool
fn eq(&self, other: &SetProject) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SetProject
impl Serialize for SetProject
impl StructuralPartialEq for SetProject
Auto Trait Implementations§
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