Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

683 B
Raw Blame
#[rustfmt::skip]
mod generated;
pub use generated::*;

impl std::fmt::Display for FromPeer<'_> {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let m = match self {
            FromPeer::Unknown => "Unknown",
            FromPeer::PeerUpdate { .. } => "PeerUpdate",
            FromPeer::PeerCommentUpdate { .. } => "PeerCommentUpdate",
            FromPeer::PeerAwareness { .. } => "PeerAwareness",
            FromPeer::PeerRequestSince { .. } => "PeerRequestSince",
            FromPeer::PeerRequestSnapshot {} => "PeerRequestSnapshot",
            FromPeer::PeerRegisterId { .. } => "PeerRegisterId",
        };
        write!(f, "{m}")
    }
}