pub struct IdentityPatchResponse {
pub action: Option<ActionEnum>,
pub error: Option<Option<Value>>,
pub identity: Option<String>,
pub patch_id: Option<String>,
}Expand description
IdentityPatchResponse : Response for a single identity patch
Fields§
§action: Option<ActionEnum>The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed.
error: Option<Option<Value>>From https://go.dev/wiki/CodeReviewComments#receiver-type: > Can function or methods, either concurrently or when called from this method, be mutating the receiver? A value type creates a copy of the receiver when the method is invoked, so outside updates will not be applied to this receiver. If changes must be visible in the original receiver, the receiver must be a pointer. > If the receiver is a struct, array or slice and any of its elements is a pointer to something that might be mutating, > prefer a pointer receiver, as it will make the intention clearer to the reader. > Don’t mix receiver types. Choose either pointers or struct types for all available methods.
identity: Option<String>The identity ID payload of this patch
patch_id: Option<String>The ID of this patch response, if an ID was specified in the patch.
Implementations§
Source§impl IdentityPatchResponse
impl IdentityPatchResponse
Sourcepub fn new() -> IdentityPatchResponse
pub fn new() -> IdentityPatchResponse
Response for a single identity patch
Trait Implementations§
Source§impl Clone for IdentityPatchResponse
impl Clone for IdentityPatchResponse
Source§fn clone(&self) -> IdentityPatchResponse
fn clone(&self) -> IdentityPatchResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IdentityPatchResponse
impl Debug for IdentityPatchResponse
Source§impl Default for IdentityPatchResponse
impl Default for IdentityPatchResponse
Source§fn default() -> IdentityPatchResponse
fn default() -> IdentityPatchResponse
Source§impl<'de> Deserialize<'de> for IdentityPatchResponse
impl<'de> Deserialize<'de> for IdentityPatchResponse
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>,
Source§impl PartialEq for IdentityPatchResponse
impl PartialEq for IdentityPatchResponse
Source§fn eq(&self, other: &IdentityPatchResponse) -> bool
fn eq(&self, other: &IdentityPatchResponse) -> bool
self and other values to be equal, and is used by ==.