pub fn days(mut self, days: u64) -> Result<Self, GetGuildPruneCountError> {
        if !validate::guild_prune_days(days) {
            return Err(GetGuildPruneCountError::DaysInvalid);
        }

        self.fields.days.replace(days);

        Ok(self)
    }
/// Set the number of days that a user must be inactive before being
/// able to be pruned.
///
/// The number of days must be greater than 0, and less than or equal to 30.
///
/// # Errors
///
/// Returns [`GetGuildPruneCountError::DaysInvalid`] if the number of days
/// is 0.
Set the number of days that a user must be inactive before being
able to be pruned.

The number of days must be greater than 0, and less than or equal to 30.
Set the number of days that a user must be inactive before being able to be pruned . The number of days must be greater than 0 and less than or equal to 30 .
pub fn days(mut self, days: u64) -> Result<Self, GetGuildPruneCountError> {
        if !validate::guild_prune_days(days) {
            return Err(GetGuildPruneCountError::DaysInvalid);
        }
        self.fields.days.replace(days);
        Ok(self)
    }
pub fn days ( mut self , days : u64 ) -> Result < Self , GetGuildPruneCountError > { if ! validate :: guild_prune_days ( days ) { return Err ( GetGuildPruneCountError :: DaysInvalid ) ; } self . fields . days . replace ( days ) ; Ok ( self ) }
Set the number of days that a user must be inactive before being
able to be pruned.
Set the number of days that a user must be inactive before being able to be pruned .
mut self
days
u64
errors
Returns [`GetGuildPruneCountError::DaysInvalid`] if the number of days
is 0.
Returns [ ` GetGuildPruneCountError :: DaysInvalid ` ] if the number of days is 0 .