federation-api: Add note about minimum_valid_until_ts field type
This commit is contained in:
parent
b60df453dc
commit
6d244cd236
@ -64,6 +64,9 @@ pub struct QueryCriteria {
|
|||||||
///
|
///
|
||||||
/// If not supplied, the current time as determined by the notary server is
|
/// If not supplied, the current time as determined by the notary server is
|
||||||
/// used.
|
/// used.
|
||||||
|
// This doesn't use `serde(default)` because the default would then be
|
||||||
|
// determined by the client rather than the server (and it would take more
|
||||||
|
// bandwidth because `skip_serializing_if` couldn't be used).
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub minimum_valid_until_ts: Option<MilliSecondsSinceUnixEpoch>,
|
pub minimum_valid_until_ts: Option<MilliSecondsSinceUnixEpoch>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user