pub fn try_update(&self, value: Option<T>) -> Option<StorageEntry<Block, T>> {
		match self.value == value {
			true => None,
			false => Some(StorageEntry {
				prev_valid_from: Some(self.valid_from.clone()),
				value,
			}),
		}
	}
/// Returns Some if the entry should be updated with the new value.
Returns Some if the entry should be updated with the new value.
Returns Some if the entry should be updated with the new value .
pub fn try_update(&self, value: Option<T>) -> Option<StorageEntry<Block, T>> {
		match self.value == value {
			true => None,
			false => Some(StorageEntry {
				prev_valid_from: Some(self.valid_from.clone()),
				value,
			}),
		}
	}
pub fn try_update ( & self , value : Option < T > ) -> Option < StorageEntry < Block , T > > { match self . value == value { true => None , false => Some ( StorageEntry { prev_valid_from : Some ( self . valid_from . clone ( ) ) , value , } ) , } }
Returns Some if the entry should be updated with the new value.
Returns Some if the entry should be updated with the new value .
&self
value
Option<T>
&self
value
Option<T>