teamtalk 6.0.0

TeamTalk SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use insta::assert_debug_snapshot;
use teamtalk::types::UserAccountBuilder;

#[test]
fn user_account_builder_snapshot() {
    let account = UserAccountBuilder::new("alice")
        .password("secret")
        .user_type(2)
        .rights(7)
        .build();
    assert_debug_snapshot!(account);
}