Function blob_uuid::to_blob [] [src]

pub fn to_blob(uuid: &Uuid) -> String

Convert uuid to a 22 character string blob

 extern crate uuid;
 use uuid::Uuid;
  
 extern crate blob_uuid;
 fn main(){
    let uuid = Uuid::parse_str("557c8018-5e21-4b74-8bb0-9040e2e8ead1").unwrap();
    assert_eq!("VXyAGF4hS3SLsJBA4ujq0Q", blob_uuid::to_blob(&uuid));
 }