Struct ory_client::models::internal_is_owner_for_project_by_slug_body::InternalIsOwnerForProjectBySlugBody
source · pub struct InternalIsOwnerForProjectBySlugBody {
pub project_scope: Option<String>,
pub project_slug: String,
pub subject: String,
}
Expand description
InternalIsOwnerForProjectBySlugBody : Is Owner For Project By Slug Request Body
Fields§
§project_scope: Option<String>
ProjectScope is the project_id resolved from the API Token.
project_slug: String
ProjectSlug is the project’s slug.
subject: String
Subject is the subject from the API Token.
Implementations§
source§impl InternalIsOwnerForProjectBySlugBody
impl InternalIsOwnerForProjectBySlugBody
sourcepub fn new(
project_slug: String,
subject: String
) -> InternalIsOwnerForProjectBySlugBody
pub fn new(
project_slug: String,
subject: String
) -> InternalIsOwnerForProjectBySlugBody
Is Owner For Project By Slug Request Body
Trait Implementations§
source§impl Clone for InternalIsOwnerForProjectBySlugBody
impl Clone for InternalIsOwnerForProjectBySlugBody
source§fn clone(&self) -> InternalIsOwnerForProjectBySlugBody
fn clone(&self) -> InternalIsOwnerForProjectBySlugBody
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<'de> Deserialize<'de> for InternalIsOwnerForProjectBySlugBody
impl<'de> Deserialize<'de> for InternalIsOwnerForProjectBySlugBody
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<InternalIsOwnerForProjectBySlugBody> for InternalIsOwnerForProjectBySlugBody
impl PartialEq<InternalIsOwnerForProjectBySlugBody> for InternalIsOwnerForProjectBySlugBody
source§fn eq(&self, other: &InternalIsOwnerForProjectBySlugBody) -> bool
fn eq(&self, other: &InternalIsOwnerForProjectBySlugBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.