abineo-messaging

Crates.ioabineo-messaging
lib.rsabineo-messaging
version1.0.0
sourcesrc
created_at2023-07-25 06:51:56.842093
updated_at2023-07-25 06:51:56.842093
descriptionShared structs and enums for internal messaging service.
homepage
repository
max_upload_size
id925231
size6,489
Christoph Schneider (chjlsch)

documentation

README

Abineo Messaging

Shared structs and enums for internal messaging service.

Installation

Using cargo

cargo add abineo-messaging

Add to Cargo.toml

[dependencies]
abineo-messaging = "1"

Usage

use abineo_messaging::*;

let result = Message::email_builder()
    .subject("The Email")
    .recipient("info@abineo.com")
    .body(Content::builder()
        .title("Hello, world!")
        .subtitle("Lorem ipsum dolor")
        .text("Now that we know who you are, I know who I am")
        .secret("42"))
    .build();

assert!(result.is_ok());
Commit count: 0

cargo fmt