pub struct CollectionLinkDto {
pub id: String,
pub status: Status,
pub type: CollectionType,
pub display_name: Option<String>,
pub collection_metadata: Option<CollectionMetadataDto>,
}Fields§
§id: StringThe collection id
status: StatusThe collection status
type: CollectionType§display_name: Option<String>The display name of the collection. If was not provided, would be taken from the contract template
collection_metadata: Option<CollectionMetadataDto>The collection’s metadata
Implementations§
Source§impl CollectionLinkDto
impl CollectionLinkDto
pub fn new( id: String, status: Status, type: CollectionType, ) -> CollectionLinkDto
Trait Implementations§
Source§impl Clone for CollectionLinkDto
impl Clone for CollectionLinkDto
Source§fn clone(&self) -> CollectionLinkDto
fn clone(&self) -> CollectionLinkDto
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 CollectionLinkDto
impl Debug for CollectionLinkDto
Source§impl Default for CollectionLinkDto
impl Default for CollectionLinkDto
Source§fn default() -> CollectionLinkDto
fn default() -> CollectionLinkDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionLinkDto
impl<'de> Deserialize<'de> for CollectionLinkDto
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 CollectionLinkDto
impl PartialEq for CollectionLinkDto
Source§impl Serialize for CollectionLinkDto
impl Serialize for CollectionLinkDto
impl StructuralPartialEq for CollectionLinkDto
Auto Trait Implementations§
impl Freeze for CollectionLinkDto
impl RefUnwindSafe for CollectionLinkDto
impl Send for CollectionLinkDto
impl Sync for CollectionLinkDto
impl Unpin for CollectionLinkDto
impl UnwindSafe for CollectionLinkDto
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