pub struct ReleaseCreator {
pub creator: Option<Option<Box<UserModel>>>,
pub model: Box<ReleaseModel>,
}Fields§
§creator: Option<Option<Box<UserModel>>>§model: Box<ReleaseModel>Implementations§
Source§impl ReleaseCreator
impl ReleaseCreator
pub fn new(model: ReleaseModel) -> ReleaseCreator
Trait Implementations§
Source§impl Clone for ReleaseCreator
impl Clone for ReleaseCreator
Source§fn clone(&self) -> ReleaseCreator
fn clone(&self) -> ReleaseCreator
Returns a duplicate 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 ReleaseCreator
impl Debug for ReleaseCreator
Source§impl Default for ReleaseCreator
impl Default for ReleaseCreator
Source§fn default() -> ReleaseCreator
fn default() -> ReleaseCreator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseCreator
impl<'de> Deserialize<'de> for ReleaseCreator
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 ReleaseCreator
impl PartialEq for ReleaseCreator
Source§impl Serialize for ReleaseCreator
impl Serialize for ReleaseCreator
impl StructuralPartialEq for ReleaseCreator
Auto Trait Implementations§
impl Freeze for ReleaseCreator
impl RefUnwindSafe for ReleaseCreator
impl Send for ReleaseCreator
impl Sync for ReleaseCreator
impl Unpin for ReleaseCreator
impl UnwindSafe for ReleaseCreator
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