(
&mut self,
observation: &GitRefObservation,
)
| 646 | } |
| 647 | |
| 648 | fn put_git_ref_observation( |
| 649 | &mut self, |
| 650 | observation: &GitRefObservation, |
| 651 | ) -> Result<(), OperationCodecError> { |
| 652 | self.put_string(&observation.name, "Git ref name")?; |
| 653 | self.put_optional_tag(observation.target.is_some())?; |
| 654 | if let Some(target) = &observation.target { |
| 655 | self.put_git_ref_target(target)?; |
| 656 | } |
| 657 | Ok(()) |
| 658 | } |
| 659 | |
| 660 | fn put_actor(&mut self, actor: &ActorRef) -> Result<(), OperationCodecError> { |
| 661 | match actor { |
no test coverage detected