ps_hash/implementations/
display.rs

1use std::fmt::Display;
2
3use ps_base64::base64;
4
5use crate::Hash;
6
7impl Display for Hash {
8    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
9        base64::encode_into(&self.inner, f)
10    }
11}