pub fn shared_parts(parts: Vec<Part>) -> Arc<Vec<Part>> ⓘExpand description
Wrap a Vec<Part> for the Message::parts field. Use this in struct
literals and tests (parts: shared_parts(vec![Part { ... }])) so the
call sites stay short and uniform.