Struct ory_client::models::schema_patch::SchemaPatch
source · pub struct SchemaPatch {
pub data: Value,
pub name: String,
}Fields§
§data: ValueThe json schema
name: StringThe user defined schema name
Implementations§
source§impl SchemaPatch
impl SchemaPatch
pub fn new(data: Value, name: String) -> SchemaPatch
Trait Implementations§
source§impl Clone for SchemaPatch
impl Clone for SchemaPatch
source§fn clone(&self) -> SchemaPatch
fn clone(&self) -> SchemaPatch
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 SchemaPatch
impl Debug for SchemaPatch
source§impl<'de> Deserialize<'de> for SchemaPatch
impl<'de> Deserialize<'de> for SchemaPatch
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 SchemaPatch
impl PartialEq for SchemaPatch
source§fn eq(&self, other: &SchemaPatch) -> bool
fn eq(&self, other: &SchemaPatch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SchemaPatch
impl Serialize for SchemaPatch
impl StructuralPartialEq for SchemaPatch
Auto Trait Implementations§
impl RefUnwindSafe for SchemaPatch
impl Send for SchemaPatch
impl Sync for SchemaPatch
impl Unpin for SchemaPatch
impl UnwindSafe for SchemaPatch
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