mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-30 16:34:51 -05:00
9 lines
266 B
Rust
9 lines
266 B
Rust
|
fn func() {
|
||
|
Ok(ServerInformation {
|
||
|
name: unwrap_message_string(items.get(0)),
|
||
|
vendor: unwrap_message_string(items.get(1)),
|
||
|
version: unwrap_message_string(items.get(2)),
|
||
|
spec_version: unwrap_message_string(items.get(3)),
|
||
|
});
|
||
|
}
|