ReferenceSdkRustTypes
TransferOwnershipRequest
Rust struct goodmem::models::TransferOwnershipRequest: declaration, fields or variants, and implementations.
Struct TransferOwnershipRequest
goodmem::models::TransferOwnershipRequest
Names the principal that will become the resource owner.
pub struct TransferOwnershipRequest {
pub new_owner_id: String,
}Fields
new_owner_id
pub new_owner_id: String
Existing principal UUID that will become the new owner.
Wire name: newOwnerId.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for TransferOwnershipRequestimpl std::fmt::Debug for TransferOwnershipRequest