pub fn check_not_private(entry_def: &EntryDef) -> SysValidationResult<()> {
    match entry_def.visibility {
        EntryVisibility::Public => Ok(()),
        EntryVisibility::Private => Err(ValidationOutcome::PrivateEntry.into()),
    }
}
/// Check the app entry type isn't private for store entry
Check the app entry type isn't private for store entry
Check the app entry type isn ' t private for store entry
pub fn check_not_private(entry_def: &EntryDef) -> SysValidationResult<()> {
    match entry_def.visibility {
        EntryVisibility::Public => Ok(()),
        EntryVisibility::Private => Err(ValidationOutcome::PrivateEntry.into()),
    }
}
pub fn check_not_private ( entry_def : & EntryDef ) -> SysValidationResult < ( ) > { match entry_def . visibility { EntryVisibility :: Public => Ok ( ( ) ) , EntryVisibility :: Private => Err ( ValidationOutcome :: PrivateEntry . into ( ) ) , } }
Check the app entry type isn't private for store entry
Check the app entry type isn ' t private for store entry
entry_def
&EntryDef
entry_def
&EntryDef