pub fn new_base(media_type: String, digest: Digest, size: i64) -> Descriptor {
        Descriptor {
            media_type,
            digest,
            size,
            urls: None,
            annotations: None,
            platform: None,
            data: None,
        }
    }
/// Create a new [Descriptor] with all Optional fields set to None
Create a new [Descriptor] with all Optional fields set to None
Create a new [ Descriptor ] with all Optional fields set to None
pub fn new_base(media_type: String, digest: Digest, size: i64) -> Descriptor {
        Descriptor {
            media_type,
            digest,
            size,
            urls: None,
            annotations: None,
            platform: None,
            data: None,
        }
    }
pub fn new_base ( media_type : String , digest : Digest , size : i64 ) -> Descriptor { Descriptor { media_type , digest , size , urls : None , annotations : None , platform : None , data : None , } }
Create a new [Descriptor] with all Optional fields set to None
Create a new [ Descriptor ] with all Optional fields set to None
media_type
String
digest
Digest
size
i64
media_type
String
digest
Digest
size
i64