pub enum OwnerInput {
Variant0(OwnerInputUser),
Variant1(OwnerInputPublicKey),
Variant2(String),
Variant3(String),
}Expand description
The owner of the resource, specified as a Privy user ID, a P-256 public key, or null to remove the current owner.
JSON schema
{
"title": "OwnerInput",
"description": "The owner of the resource, specified as a Privy user
ID, a P-256 public key, or null to remove the current owner.",
"oneOf": [
{
"$ref": "#/components/schemas/OwnerInputUser"
},
{
"$ref": "#/components/schemas/OwnerInputPublicKey"
},
{
"type": "string"
},
{
"type": "string"
}
],
"x-stainless-model": "shared.owner_input"
}Variants§
Trait Implementations§
Source§impl Clone for OwnerInput
impl Clone for OwnerInput
Source§fn clone(&self) -> OwnerInput
fn clone(&self) -> OwnerInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OwnerInput
impl Debug for OwnerInput
Source§impl<'de> Deserialize<'de> for OwnerInput
impl<'de> Deserialize<'de> for OwnerInput
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 From<&OwnerInput> for OwnerInput
impl From<&OwnerInput> for OwnerInput
Source§fn from(value: &OwnerInput) -> Self
fn from(value: &OwnerInput) -> Self
Converts to this type from the input type.
Source§impl From<OwnerInputPublicKey> for OwnerInput
impl From<OwnerInputPublicKey> for OwnerInput
Source§fn from(value: OwnerInputPublicKey) -> Self
fn from(value: OwnerInputPublicKey) -> Self
Converts to this type from the input type.
Source§impl From<OwnerInputUser> for OwnerInput
impl From<OwnerInputUser> for OwnerInput
Source§fn from(value: OwnerInputUser) -> Self
fn from(value: OwnerInputUser) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnerInput
impl RefUnwindSafe for OwnerInput
impl Send for OwnerInput
impl Sync for OwnerInput
impl Unpin for OwnerInput
impl UnsafeUnpin for OwnerInput
impl UnwindSafe for OwnerInput
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