identifiers: Derive Clone on MatrixId

This commit is contained in:
Kévin Commaille 2022-04-02 22:48:54 +02:00 committed by Kévin Commaille
parent abcaa4d3f7
commit e6cd2b0995

View File

@ -42,7 +42,7 @@ const RESERVED: &AsciiSet = &CONTROLS
.add(b'=');
/// All Matrix Identifiers that can be represented as a Matrix URI.
#[derive(Debug, PartialEq, Eq)]
#[derive(Clone, Debug, PartialEq, Eq)]
#[non_exhaustive]
pub enum MatrixId {
/// A room ID.