pub fn new(properties: T) -> Self {
    Self {
      context: vec![Credential::<T>::base_context().clone()],
      id: None,
      types: vec![Credential::<T>::base_type().into()],
      subject: Vec::new(),
      issuer: None,
      issuance_date: None,
      expiration_date: None,
      status: Vec::new(),
      schema: Vec::new(),
      refresh: Vec::new(),
      policy: Vec::new(),
      evidence: Vec::new(),
      non_transferable: None,
      properties,
    }
  }
/// Creates a new `CredentialBuilder`.
Creates a new `CredentialBuilder`.
Creates a new ` CredentialBuilder ` .
pub fn new(properties: T) -> Self {
    Self {
      context: vec![Credential::<T>::base_context().clone()],
      id: None,
      types: vec![Credential::<T>::base_type().into()],
      subject: Vec::new(),
      issuer: None,
      issuance_date: None,
      expiration_date: None,
      status: Vec::new(),
      schema: Vec::new(),
      refresh: Vec::new(),
      policy: Vec::new(),
      evidence: Vec::new(),
      non_transferable: None,
      properties,
    }
  }
pub fn new ( properties : T ) -> Self { Self { context : vec ! [ Credential T base_context ( ) clone ( ) ] , id : None , types : vec ! [ Credential T base_type ( ) into ( ) ] , subject : Vec :: new ( ) , issuer : None , issuance_date : None , expiration_date : None , status : Vec :: new ( ) , schema : Vec :: new ( ) , refresh : Vec :: new ( ) , policy : Vec :: new ( ) , evidence : Vec :: new ( ) , non_transferable : None , properties , } }
Creates a new `CredentialBuilder`.
Creates a new ` CredentialBuilder ` .
properties
T
properties
T