pub fn or(mut self, default: T) -> Detail<T> {
        if self.value.is_none() {
            self.value = Some(default);
            self.variation_index = None;
            // N.B. reason remains untouched: this is counterintuitive, but consistent with Go
        }
        self
    }
/// Set the [Detail::value] to `default` if it does not exist.
///
/// The SDK always wants to return an evaluation result. This method helps ensure that if a
/// [Detail::value] is None, we can update it with the provided default.
Set the [Detail::value] to `default` if it does not exist.
The SDK always wants to return an evaluation result. This method helps ensure that if a
[Detail::value] is None, we can update it with the provided default.
Set the [ Detail :: value ] to ` default ` if it does not exist . The SDK always wants to return an evaluation result . This method helps ensure that if a [ Detail :: value ] is None we can update it with the provided default .
pub fn or(mut self, default: T) -> Detail<T> {
        if self.value.is_none() {
            self.value = Some(default);
            self.variation_index = None;
            // N.B. reason remains untouched: this is counterintuitive, but consistent with Go
        }
        self
    }
pub fn or ( mut self , default : T ) -> Detail < T > { if self . value . is_none ( ) { self . value = Some ( default ) ; self . variation_index = None ; // N.B. reason remains untouched: this is counterintuitive, but consistent with Go } self }
Set the [Detail::value] to `default` if it does not exist.
Set the [ Detail :: value ] to ` default ` if it does not exist .
mut self
default
T
mut self
default
T