pub struct Owner {
pub user_id: String,
pub display_name: String,
}Expand description
The Suno account a library belongs to, pinned on first use.
The identity guard pins a library to the account it is first synced against
and refuses to run it against a different account, so a mistyped or swapped
token can never make one account’s clips look absent from source and delete
another account’s files. user_id is the stable identity; display_name
is cosmetic (for messages) and refreshed opportunistically on a match.
Fields§
§user_id: String§display_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
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
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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