Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chirpstack/chirpstack
/ validate
Method
validate
chirpstack/src/storage/multicast.rs:41–46 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
39
40
impl MulticastGroup {
41
fn validate(&self) -> Result<(), Error> {
42
if self.name.is_empty() {
43
return Err(Error::Validation(
"name is not set"
.into()));
44
}
45
Ok(())
46
}
47
}
48
49
impl Default for MulticastGroup {
Callers
3
create
Function · 0.45
update
Function · 0.45
enqueue
Function · 0.45
Calls
2
to_string
Method · 0.80
into
Method · 0.45
Tested by
no test coverage detected