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