Skip to main content

shares_or_null

Function shares_or_null 

Source
fn shares_or_null<'de, D>(deserializer: D) -> Result<SlackFileShares, D::Error>
where D: Deserializer<'de>,
Expand description

Slack sends shares: null on a file it has not shared; that is not an object, and it reads as no shares rather than failing the whole file.